Hi There,
I am using code in sysut1,it is running.When I put this code in ps file(record length=80, and format =f) then I receive a mail but saying "Unable to deliver mail to some/all recipients" and
Syntax Error. No Args after 'DATA' command
Please suggest what should I do ?
Details are given below...
*********code in sysut1 ************
//SYSUT1 DD *
HELO domain name
MAIL FROM:<my email id>
RCPT TO:<recipient's email id >
DATA
FROM:<my email id>
TO:<recipient 's email id>
SUBJECT: TESTING MAIL FUNCTION
MAR 2007,SENDING MAIL FROM MAINFRAME.
PANKAJ.
//SYSUT2 DD SYSOUT=K,DEST=TCPSMTP,
// DCB=(RECFM=F,LRECL=80)
//SYSPRINT DD SYSOUT=*,LRECL=133
//SYSOUT DD SYSOUT=*
********************************************************
***************** file input in sysut1**********************
//SYSUT1 DD DISP=SHR,DSN=CMME.SEND.EMAIL
content of file :
HELO RCCC
MAIL FROM:<my email id>
RCPT TO:<recipient 's email id>
DATA
FROM:<my email id>
TO:<recipient's email id>
SUBJECT: TESTING MAIL FUNCTION
MAR 2007,SENDING MAIL FROM MAINFRAME.
PANKAJ.
Hi Nirmal,
I am using code in sysut1,it is running.When I put this code in ps file(record length=80, and format =f) then I receive a mail but saying "Unable to deliver mail to some/all recipients" and
Syntax Error. No Args after 'DATA' command
Please suggest as early as possible what should I do ?
Details are given below...
*********code in sysut1 ************
//SYSUT1 DD *
HELO domain name
MAIL FROM:<my email id>
RCPT TO:<recipient's email id >
DATA
FROM:<my email id>
TO:<recipient 's email id>
SUBJECT: TESTING MAIL FUNCTION
MAR 2007,SENDING MAIL FROM MAINFRAME.
PANKAJ.
//SYSUT2 DD SYSOUT=K,DEST=TCPSMTP,
// DCB=(RECFM=F,LRECL=80)
//SYSPRINT DD SYSOUT=*,LRECL=133
//SYSOUT DD SYSOUT=*
********************************************************
***************** file input in sysut1**********************
//SYSUT1 DD DISP=SHR,DSN=CMME.SEND.EMAIL
content of file :
HELO RCCC
MAIL FROM:<my email id>
RCPT TO:<recipient 's email id>
DATA
FROM:<my email id>
TO:<recipient's email id>
SUBJECT: TESTING MAIL FUNCTION
MAR 2007,SENDING MAIL FROM MAINFRAME.
PANKAJ.