Could somebody guide me above much appriciated (sample program much appriciated)
Appriciate if somebody can send me sample code of 'QtmmSendMail'.
Thanks in advance
Hello,
You can find information at the following website...
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzair/rzairsendmime.htm
TPinky
=============================================================
In order to send any spoo9led file with QtmmSendMail, you'll first have to decide how to get your spooled file into a form that can be sent through SMTP. The general first step will be to convert each spooled file into a separate streamfile somewhere in the IFS.
Do you have a method of doing that yet?
If these are AFPDS spooled files, it will be far more difficult than if they're simple SCS text spooled files. Your best choice for AFPDS will probably be to create PDFs. Then you can encode those streamfiles for SMTP and create MIME attachments. The QtmmSendMail API allows multiple MIME attachments.
However, if you're not prepared to do all of the programming needed to send SMTP e-mail, you probably need to forget QtmmSendMail and other APIs. Obtain a supported e-mail client such as <a href="http://www.easy400.net/mmail/start">iSeries MIME & Mail</a> or others.
Tom
Last Wiki Answer Submitted: April 20, 2010 7:09 am by Tpinky4,165 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.