You can find information at the following website...
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.
Last Wiki Answer Submitted: April 20, 2010 7:09 am by Tpinky4,165 pts.