This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by gdorfman]

I need to send E-mail with attachment, please suggest how to do this using
approach described in chapter 15 of you book. Thank you. Gregory Dorfman
import-bot (20211) [Avatar] Offline
#2
Re: Attachments in SMTP protocol (chapter 15)
[Originally posted by ezad1]

> I need to send E-mail with attachment, please suggest how to do this using
> approach described in chapter 15 of you book. Thank you. Gregory Dorfman

Greg,

I don't know the details but the information you need is in RFC 1521, included
in the chapter folder. I think the idea is to include a content type header
that specifies the type of data in the attachment (e.g.
application/octet-stream). Then there is the encoding for the data (e.g. base
64). The text mail message follows the headers, as usual but is terminated by
a "start of attachment" line. What follows is the encoded bytes of the
attachment.

Sorry I can't be specific on this but as I said, I never did it. It shouldn't
be that hard -- the worst part will be encoding the data in powerscript.