Hey, I was wondering if there is a way to attach files (specifically .csv files) to a mail message in Perl without using MIME::Lite or any other libraries.
Right now
you can specify the mail-headers as :
Content-Type ie: image/jpeg; name="file.jpg"
Content-Disposition (ie ) attachment; filename="name.jpg"
Content-Transfer-Encoding (ie) base64
Look at an email sent with an attachment, that should help you out.
the trick is multipart boundaries.
http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html