Send mutiple spool files via single

10 pts.
Tags:
iSeries
QtmmSendMail
Could somebody guide me above much appriciated (sample program much appriciated) Appriciate if somebody can send me sample code of 'QtmmSendMail'. Thanks in advance
ASKED: May 4, 2008  11:34 AM
UPDATED: April 20, 2010  7:09 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Tilan
    [...] mutiple spool files via single New Question Created by Tilanhttp://itknowledgeexchange.techtarget.com/itanswers/send-mutiple-spool-files-via-single/Tilan Family Tree and Genealogy Links at Surname FinderResources for your tilan family tree research [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following