10 pts.
 Send mutiple spool files via single
Could somebody guide me above much appriciated (sample program much appriciated) Appriciate if somebody can send me sample code of 'QtmmSendMail'. Thanks in advance

Software/Hardware used:
ASKED: May 4, 2008  11:34 AM
UPDATED: April 20, 2010  7:09 AM

Answer Wiki:
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  Tpinky   4,165 pts.
All Answer Wiki Contributors:  Tpinky   4,165 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _