Gossamer Forum
Home : General : Perl Programming :

Re: Email attachments

Quote Reply
Re: Email attachments In reply to
Thanks for the help. I have written a little script like that but I am getting everything in the body of the email, not as an attachment. For example, if the script writes

BF2200678B955F03F173EACA

Content-Type: application/octet-stream; name="attach.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="attach.txt"
VGhpcyBpcyBhIHRlc3QgZmlsZQ==
BF2200678B955F03F173EACA

to sendmail, then that is what I receive in the body of my email! Can anyone understand why it is not sent as an attachment? The base 64 bit above is just a base64 encoding of the string "This is a test file". I was expecting therefore to get an email with an attachment called attach.txt containing that string.

Subject Author Views Date
Thread Email attachments Endor 4855 Apr 16, 2001, 1:39 PM
Thread Re: Email attachments
Paul 4736 Apr 16, 2001, 2:21 PM
Thread Re: Email attachments
Endor 4688 May 27, 2001, 12:16 PM
Thread Re: Email attachments
Paul 4684 May 27, 2001, 1:14 PM
Thread Re: Email attachments
Endor 4668 May 27, 2001, 4:55 PM
Thread Re: Email attachments
Paul 4680 May 27, 2001, 5:00 PM
Thread Re: Email attachments
Chef 4633 Jun 3, 2001, 7:23 AM
Post Re: Email attachments
Paul 4639 Jun 3, 2001, 7:58 AM