Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8201
Location: Dubuque, Iowa, 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 Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
No new posts REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am
No new posts sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us