from: "Jim Franz" <franz400@xxxxxxxxxxxx>
subject: Re: Send Email from the AS400 - quit working!
can you show us the email address sent?
perhaps it is invalid address format?
If I use the value rather than passing a parm: I made a copy of this and
passed the 2nd and 3rd parm, but not the email address and it worked.
DCL VAR(&EMAIL) TYPE(*CHAR) LEN(50) +
DCL VAR(&SUBJECT) TYPE(*CHAR) LEN(20) +
DCL VAR(&MSG) TYPE(*CHAR) LEN(200) VALUE('This +
is a test from the sendtest cl')
Calling it manually and passing the parms, which has quit working!
call sndemail2 parm('jwaymire@xxxxxxxxxxxxxxxxxx' 'E-Mail2' 'Test from
The normal usage of this is called from a program and uses a file to get the
email addresses depending on the job.
This mailing list archive is Copyright 1997-2019 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