IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 23, 2009 5:08 pm
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: 1287
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 5:25 pm
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
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: 1287
Location: Chennai, India

PostPosted: Wed Jun 24, 2009 9:27 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts help send file AFT CONTROLM EM IBM Tools 0
Search our Forums:

Back to Top