HELO Dick
Thanks for the reply.
below is the Jcl i have used for sending mail
//STEP040 EXEC PGM=IEBGENER,COND=(00,NE)
//SYSIN DD DUMMY
//SYSUT1 DD *
HELO MAIL /*mail here cud be any thing*/
MAIL FROM: <USERNAME@DOMAIN.COM>
RCPT TO: <USERNAME1@DOMAIN.COM>
RCPT TO: <USERNAME2@DOMAIN.COM>
RCPT TO: <USERNAME3@DOMAIN.COM>
DATA
TO: USERNAME1@DOMAIN.COM; USERNAME2@DOMAIN.COM
CC: USERNAME3@DOMAIN.COM
SUBJECT: Test mail Da
<mail body>
/*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//* And user shud make sure that there are no aguments after
DATA, TO and CC userlist, remove the sequence numbers from the pds member, coz those number will also be treated as arguments.
Thanks again Dick.
Hope the above info wud be helpful.