
Borderline
Deleted
Feb 3, 2000, 9:20 PM
Post #5 of 5
(350 views)
|
Mime::Lite is a single Perl script that will do all your attachement and email header work for you. You just tell it what to do and it does it. But if you insist on doing it your self you will need to read RFC 822. Also do some tests of your own to find out how to form the email header. Open an email with an attachment in pico or notepad and look at the header and how it handles the multipart message. You will also need to know what encoding to give each type of attachment eg <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> Use encoding: If your message contains: ------------------------------------------------------------ 7bit Only 7-bit text, all lines <1000 characters 8bit 8-bit text, all lines <1000 characters quoted-printable 8-bit text or long lines (MUCH more reliable than "8bit") base64 Largely binary data: a GIF, a tar file, etc. </pre><HR></BLOCKQUOTE> This is discussed on the MIME::Lite page somewhat. HTH Scott
|