I thought Net.Data wasn't supported anymore? If it is infact not supported anymore I would suggest doing one of the other alternatives. The RPGMail alternative seems to be much more versitile.
-----Original Message-----
From: Nathan Andelin [mailto:nandelin@xxxxxxxxx]
Sent: Thursday, December 20, 2012 9:30 PM
To: Midrange Systems Technical Discussion
Subject: Re: Looking for email package recommendations on the i
From: Peter Connell
Oh dear, I forgot to mention 2 setup steps -
I just wanted to report back that your instructions worked great; I filled in minor gaps. Mail relay through our external ISP worked fine.
CL Program:
PGM
CD DIR('/qsys.lib/qsyscgi.lib/')
ADDENVVAR ENVVAR(PATH_INFO) +
VALUE('/qsys.lib/qsyscgi.lib/qclsrc.file/ma+
cro.mbr/send') MONMSG MSGID(CPF0000)
CALL PGM(QSYSCGI/DB2WWW)
DSPPFM FILE(QTEMP/STDOUT)
ENDPGM
Net.Data Macro:
%define HTML = { <html><body><table>
<tr><td>Hi there Nathan</td></tr>
<tr><td>This is an HTML formatted email sent from DB2WWW</td></tr>
</table></body></html>
%}
%html(send) {
@dtw_assign(sndaddr,"nandelin@xxxxxxx")
@dtw_assign(rcvaddr,"nandelin@xxxxxxx")
@dtw_assign(subject,"test") @dtw_sendmail( sndaddr, rcvaddr, HTML, subject,"","","","","","","html")
%}
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.