Solved

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

Posted on 2004-10-20
2
8,757 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 125 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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: …

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now