View previous topic :: View next topic
|
Author |
Message |
gneelu
New User
Joined: 26 May 2006 Posts: 18
|
|
|
|
Hi,
I am trying to send mail using jcl in that
HELO Host
what is the hostname we have to give here, can any one give me the answer
Thanks in advance
G Neelaveni |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
hi Neelaveni,
You can find the HOSTNAME in the JESMSGLG following NODE.
J E S 2 J O B L O G -- S Y S T E M D E V L -- N O D E A B C
Here ABC is the HOST Name
~Vamsi |
|
Back to top |
|
|
gneelu
New User
Joined: 26 May 2006 Posts: 18
|
|
|
|
Hi vamsi,
thank u, i have given the node name but iam not getting the mail |
|
Back to top |
|
|
stly Warnings : 1 New User
Joined: 25 Jul 2005 Posts: 93
|
|
|
|
Hi Neelaveni,
i tried this code n it worked fine.just add from n to mailids.
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
HELO HOST
MAIL FROM:< >
RCPT TO:< >
DATA
RCPT TO:< >
SUBJECT: HI
HI THIS IS A TEST MAIL .... |
|
Back to top |
|
|
|