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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.