I had trouble getting EMLMSG to work also.
Can you use EMLSTMF2 instead - that seemed to work a lot better.
MMAIL/EMLSTMF2 SUBJECT(&SUBJECT70) FROMNAME(&FRMMAIL01) +
FROMADDR(&FRMMAIL01) +
TO(&TO01/&TO01/*TO &TO02/&TO02/*TO +
&TO03/&TO03/*TO &TO04/&TO04/*TO +
&TO05/&TO05/*TO &TO06/&TO06/*TO +
&TO07/&TO07/*TO &TO08/&TO08/*TO +
&TO09/&TO09/*TO &TO10/&TO10/*TO +
&CC01/&CC01/*CC &CC02/&CC02/*CC +
&CC03/&CC03/*CC &CC04/&CC04/*CC +
&CC05/&CC05/*CC &BCC01/&BCC01/*BCC +
&BCC02/&BCC02/*BCC &BCC03/&BCC03/*BCC +
&BCC04/&BCC04/*BCC &BCC05/&BCC05/*BCC) +
STMF(&PATHNAME1 &PATHNAME2 &PATHNAME3 +
&PATHNAME4 &PATHNAME5 &ATTACH) +
MSGM(QTEMP/MSGSRC/MSGSRC)
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David Mount
Sent: Thursday, October 25, 2012 9:25 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Question about Easy400's MMAIL
I can send emails using Easy400.net's MMAIL by literally
specifying the "TO" keyword.
But I cannot use a variable to specify the "TO".
Apparently it is expecting a format like:
name@xxxxxxxxxx/'david'/*TO
I want to call a CL with the email name and address as parameters
and then use EMLMSG to send an email to the name and address.
But no matter how I format the variable I get the error message that the
value for the parameter is invalid:
'name@doma' not valid for parameter TO.
Is there a trick to this that I am missing?
Thanks,
David Mount
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.