10 pts.
 E-mailing from COBOL batch/online program
I have used smtpnote in jcl & clist to send email but I need a way to do in a cobol program so I can control the number of emails sent. A sample would be great! Thanks

Software/Hardware used:
ASKED: January 22, 2008  8:59 PM
UPDATED: February 5, 2008  2:58 PM

Answer Wiki:
I do not have any examples in front of me, but a simple solution would be to create a CLP to send an email (with addressee and maybe text as arguments) and then simply call QCMDEXC in CBLLE passing it the appropriate arguments. ------------- Unfortunately the references to JCL, CLIST, and SMTPNOTE suggest that this is a OS/390 MVS question rather than a System i i5/OS question. Bruce
Last Wiki Answer Submitted:  February 5, 2008  2:58 pm  by  Rlsantucijr   445 pts.
All Answer Wiki Contributors:  Rlsantucijr   445 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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