?
Solved

SMTP - How to Send a File Attachment - IBM Mainframe  REXX

Posted on 2004-10-20
2
Medium Priority
?
8,957 Views
Last Modified: 2012-06-27
Hi,
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
email...

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 ?

please help..  


     
0
Comment
Question by:Lowfatspread
2 Comments
 
LVL 34

Accepted Solution

by:
PsiCop earned 500 total points
ID: 12365322
Yes, MIME, or Multi-Purpose Internet Mail Extension, is the standard method for sending non-text data thru E-Mail.

The standards are in RFCs 2045 (http://www.faqs.org/rfcs/rfc2045.html), 2046 (http://www.faqs.org/rfcs/rfc2046.html) and 2047 (http://www.faqs.org/rfcs/rfc2047.html)
0
 
LVL 50

Author Comment

by:Lowfatspread
ID: 12368947
Thanks PsiCop, I've at least got some further reading to do...  
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PHP contact form that lets the user to contact the company through email contact form. A button is fixed at the bottom of site, on clicking a new window will open where a user can send the email.
Today as you open your Outlook, you witness an error message: “Outlook is using an old copy of your Outlook Data File…”. Probably, Outlook is accessing an old OST file.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question