|
View previous topic :: View next topic
|
| Author |
Message |
pankaj_psm
New User
Joined: 03 May 2005 Posts: 4 Location: Pune
|
|
|
|
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.
*********************************************************
****************error message received ********************
Unable to deliver mail to some/all recipients.
050 DATA 00000004
501 Syntax Error. No Args after 'DATA' command
050 FROM:<my email id >
00000005
500 Unknown command, 'FROM'
050 TO:<recipient's email id >
00000006
500 Unknown command, 'TO'
050 SUBJECT: TESTING MAIL FUNCTION 00000007
500 Unknown command, 'SUBJECT'
050 MAR 2007,SENDING MAIL FROM MAINFRAME. 00000008
500 Unknown command, 'MAR'
050 PANKAJ. 00000009
500 Unknown command, 'PANKAJ'
*********************************************************
Thanks,
Pankaj |
|
| Back to top |
|
 |
pankaj_psm
New User
Joined: 03 May 2005 Posts: 4 Location: Pune
|
|
|
|
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.
*********************************************************
****************error message received ********************
Unable to deliver mail to some/all recipients.
050 DATA 00000004
501 Syntax Error. No Args after 'DATA' command
050 FROM:<my email id >
00000005
500 Unknown command, 'FROM'
050 TO:<recipient's email id >
00000006
500 Unknown command, 'TO'
050 SUBJECT: TESTING MAIL FUNCTION 00000007
500 Unknown command, 'SUBJECT'
050 MAR 2007,SENDING MAIL FROM MAINFRAME. 00000008
500 Unknown command, 'MAR'
050 PANKAJ. 00000009
500 Unknown command, 'PANKAJ'
*********************************************************
Thanks,
Pankaj |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|