Author: parasmalik20
Subject: EMAIL using IEBGENER - SMTP
Posted: Tue May 23, 2017 12:19 am (GMT 5.5)
Hi All,
I am trying to email using IEBGENER and it is working fine, the only problem
is the person in CC is not receving email.
Any pointers to resolve this ?
//STEP03 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(A,SMTP)
//SYSUT1 DD DSN=ABC.XYZ,DISP=SHR
ABC.XYZ -->
HELO SYSA
MAIL FROM:<XYZ@XYZ.COM>
RCPT TO: <XYZ@XYZ.COM>
DATA
FROM: <XYZ@XYZ.COM>
TO: <XYZ@XYZ.COM>
CC: <ABC@XYZ.COM>
Subject: EMAIL using IEBGENER - SMTP
Posted: Tue May 23, 2017 12:19 am (GMT 5.5)
Hi All,
I am trying to email using IEBGENER and it is working fine, the only problem
is the person in CC is not receving email.
Any pointers to resolve this ?
//STEP03 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(A,SMTP)
//SYSUT1 DD DSN=ABC.XYZ,DISP=SHR
ABC.XYZ -->
HELO SYSA
MAIL FROM:<XYZ@XYZ.COM>
RCPT TO: <XYZ@XYZ.COM>
DATA
FROM: <XYZ@XYZ.COM>
TO: <XYZ@XYZ.COM>
CC: <ABC@XYZ.COM>