SMTP - How to Send a File Attachment - IBM Mainframe REXX
Posted on 2004-10-20
I have a Rexx script which allows me to send Email via Sockets and SMTP,
currently I'm reading from my datasets and copying them into the body of the
I'd like if possible to send my datasets as attachments instead...
can anyone tell me how to go about it?
(if found the main smtp info in RFC811?)
I believe i need to attach the file as a Mime script?
but can't find anything which seems to make sense on the subject!
I quite happy to convert the file data to a Sixel encoding format or anything else
its just i can't seem to find out any information about headers or whatever i need to
wrap the data in ?