Hi all i am trying to send a email through mainframe. i pasted the code which i am using below:
//VSMAILS JOB (1,68983,FOC-625),
// USER=&SYSUID,NOTIFY=&SYSUID,
// MSGCLASS=9
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSUT1 DD *
HELO VIST010.VIPDIST123
MAIL FROM:<FROM.MAIL.COM >
RCPT TO:<TO.MAIL.COM>
DATA
TO: TO.MAIL.COM
SUBJECT: TEST MESSAGE
TEST MESSAGE
/*
//SYSUT2 DD SYSOUT=K,DEST=TCPSMTP
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
WHEN I AM USING JSCAN TO FIND THE ERROR IT GIVE ("TCPSMTP " IS AN INVALID REMOTE DESTINATION ) BUT IF I SUBMIT THE JOB,IT WENT FINE BUT NO MAIL SENT THROUGH THIS.
THANKS IN ADVANCE
BODHI
CAN ANYBODY HELP ME WHERE I WENT WORNG