×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
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")
%}
As an Amazon Associate we earn from qualifying purchases.