I'm having trouble with the email portion of the example code. My assumption is that I should specify the user, password and mail host as parameters to program AIR13_01, so I'm calling the program like:
CALL PGM(AIR13_01) PARM('user' 'pass' 'mail.myisp.com')
with the parms filled in with info for my ISP's mail server. But when I run the program I get the following errors:
javax.mail.MessagingException: Unknown SMTP host: sm
TransportSend Error
I'm assuming that the "sm" is possibly the first two characters of "smtp.example.com" that is coded in SvAirEmail, but I'm not really sure. Do I need to change something in the code?
CALL PGM(AIR13_01) PARM('user' 'pass' 'mail.myisp.com')
with the parms filled in with info for my ISP's mail server. But when I run the program I get the following errors:
javax.mail.MessagingException: Unknown SMTP host: sm
TransportSend Error
I'm assuming that the "sm" is possibly the first two characters of "smtp.example.com" that is coded in SvAirEmail, but I'm not really sure. Do I need to change something in the code?
Comment