I am trying to send an email to my official id via JCL
For the sake of the below example lets consider the following
my RACF ID : Z99999
Node name : TTTTTTT
( I obtained the Node name from JES2 job log it was written as "N O D E T T T T T T T". I presumed that the node name would be excluding spaces as "TTTTTTT" )
my official email id : ABC@XYZ.com
Following is the JCL step I am trying to run
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
helo TTTTTTT
mail from: <ABC@XYZ.com>
rcpt to: <ABC@XYZ.com>
data
From: <ABC@XYZ.com>
To: <ABC@XYZ.com>
Subject: Test message from MVS using SMTP
This is a line in the body of the note. :)
Aditya Jain
/*
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
helo TTTTTTT
mail from: <ABC@XYZ.com>
rcpt to: <ABC@XYZ.com>
data
From: <ABC@XYZ.com>
To: <ABC@XYZ.com>
Subject: Test message from MVS using SMTP
This is a line in the body of the note. :)
Aditya Jain
/*
The above code returns a MAXCC zero but the email is not received. Please help.
I've tried putting my RACF ID instead of < ABC@XYZ.com> too.. still it doesn't work.. Please help