The question could be a little more specific, but I think you could find what you want <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzair/rzairnetemi.htm">here</a> or <a href="http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/cl/snddst.htm">here</a>.
Hope this helps.
=========================================================
You might or might not be able to send a particular file. It depends on what kind of file and what kind of e-mail you are working with.
First, if it's a SNA network, then you can send almost any kind of file. That's what SNDDST is intended for.
But if it's SMTP e-mail over TCP/IP, then you have to follow the rules of SMTP. Unless it's a simple text file, you will have a lot of work to do before you can send it. SMTP only allows text files.
In order to send non-text, you need to encode it as one of the common MIME types. And actual sending should then be done with the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzair/rzairsendmime.htm">QtmmSendMail API</a> rather than SNDDST. There are also a few SMTP utility programs for AS/400s that can be found through internet search engines; download one of those to help make things easier.
You should use SNDDST only as a simple way of sending basic messages -- plain text e-mails.
Tom
Last Wiki Answer Submitted: September 27, 2010 11:15 pm by TomLiotta110,115 pts.
All Answer Wiki Contributors: TomLiotta110,115 pts. ,
carlosdl63,580 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.