Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to send Email to GroupID(To individual its working fine)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Vishalgupta

New User


Joined: 28 May 2008
Posts: 8
Location: mumbai

PostPosted: Tue Jun 23, 2009 11:39 am    Post subject: How to send Email to GroupID(To individual its working fine)
Reply with quote

Hi All,

I want to send the mail to the group email ID.
I am able to send the mail to the individuals using IKJEFT01.
Please suggest what should i change in the below mentioned DATA command for sending the email to the group IDs.
eg. AAA BBBB TEAM

HELO HOST
MAIL FROM:<xxxxxx.yyyyy@zzz.com>
RCPT TO:<yyyyy.xxxxx@zzzz.com>
DATA
FROM:<xxxxxx.yyyyy@zzz.com>
TO:<yyyyy.xxxxx@zzzz.com>
SUBJECT:Test mail
THIS IS A TEST MAIL
.
QUIT

I have tried by mentioning direct Group name like
RCPT TO:<AAA BBBB TEAM>
TO:<AAA BBBB TEAM>

It gives 501 Syntax Error. '@' expected


Please suggest.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 23, 2009 5:08 pm    Post subject:
Reply with quote

The group ID has to be defined to the mail server, so the RCPT TO address becomes <groupname>@<mailserver.domain>. The TO field can contain whatever you want it to have.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 5:25 pm    Post subject: Reply to: How to send Email to GroupID(To individual its wor
Reply with quote

Hi Vishal,

We had a similar requirement and we did that by using the Group id
(myprojname@ABC.com) which had all our individual Id's and it worked.

Give it a try.
Back to top
View user's profile Send private message
Vishalgupta

New User


Joined: 28 May 2008
Posts: 8
Location: mumbai

PostPosted: Wed Jun 24, 2009 8:55 am    Post subject: Reply to: How to send Email to GroupID(To individual its wor
Reply with quote

Thanks for your reply and the issue has resolved.
We need to give them same as an individual.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jun 24, 2009 9:27 am    Post subject: Reply to: How to send Email to GroupID(To individual its wor
Reply with quote

Vishal,

Glad that it worked.

Quote:
We need to give them same as an individual.


I am not getting this icon_sad.gif
Back to top
View user's profile Send private message
Vishalgupta

New User


Joined: 28 May 2008
Posts: 8
Location: mumbai

PostPosted: Wed Jun 24, 2009 12:19 pm    Post subject: Reply to: How to send Email to GroupID(To individual its wor
Reply with quote

Initially i was trying the GROUP ID with spaces at the place of period.
I put group id same as individual ID like
AAA.BBBB.TEAM@ZZZZ.com
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us