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
 

 

MUtility To Mail Multiple People !

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Kumaresan.nk

New User


Joined: 22 Mar 2010
Posts: 31
Location: Chennai

PostPosted: Wed Oct 20, 2010 3:56 pm    Post subject: MUtility To Mail Multiple People !
Reply with quote

Hi,

I have a requirement. I have to send mail to multiple people but neither of them should know that others have been copied in that mail. Each receiver should have their name displayed in the 'TO' tab and should not know who else have been copied in that same mail. If we use 'BCC' option then, even the reciever's name wouldn't be displayed in the mail. I need the reciever's name to be displayed in the 'TO' field.

Can anyone help me, plz ?
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 20, 2010 4:04 pm    Post subject:
Reply with quote

A wild guess, the receiver is also in the BCC list?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Oct 20, 2010 4:05 pm    Post subject:
Reply with quote

Ok, I'll fall for it. What on earth is the reason for this super secret mailing list ?

Is it a fully documented business requirement or just the whim of the current "Idiot of the day"
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 20, 2010 5:14 pm    Post subject: Reply to: MUtility To Mail Multiple People !
Reply with quote

Do you use XMITIP? If yes, something like this will work:
Code:
//SYSTSIN  DD  *                                       
%XMITIP (<ANUJ.DHAWAN@some.COM>) -                 
    BCC (<some.one@some.COM>) -                 
   FROM ("ANUJ DHAWAN"<ANUJ.DHAWAN@some.COM>) -   
   FILEDD EMFILE FORMAT TXT/L/9 -                     
   FILENAME file name-
   SUBJECT 'subject'
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 20, 2010 5:16 pm    Post subject:
Reply with quote

Search the Forum on xmitip. One related therad is: http://www.ibmmainframes.com/viewtopic.php?t=34424&highlight=xmitip
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 20, 2010 5:18 pm    Post subject:
Reply with quote

Anuj,

the TS is missing the TO addressee in his sent mail.
In your example i also dont see a TO addressee, hence my first post.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 20, 2010 5:31 pm    Post subject:
Reply with quote

Peter,

This job will send the atachment to Anuj in ""TO" and "some" in BCC. (SOME.XMITIP.REXX.EXEC is used for XMITIP )
Code:
//SENDMSG  EXEC PGM=IKJEFT01                             
//*-------------------------------------------------------
//SYSEXEC  DD  DISP=SHR,DSN=SOME.XMITIP.REXX.EXEC         
//SYSTSPRT DD  SYSOUT=*                                   
//EMFILE   DD DISP=SHR,DSN=attachement
//SYSTSIN  DD  *                                         
%XMITIP (<ANUJ.DHAWAN@SOME.COM>) -                   
    BCC (<SOME.ONE@SOME.COM>) -                     
   FROM ("ANUJ DHAWAN"<ANUJ.DHAWAN@SOME.COM>) -       
   FILEDD EMFILE FORMAT TXT/L/9 -                         
   FILENAME filename -
   SUBJECT 'subject'                                     
//SYSOUT   DD SYSOUT=*                                   


Parameters in SYSTIN will be converted to:
Code:
XMITIP: XMITIP Application level: 5.54                                       
XMITIP:                                                                     
XMITIP:                                                                     
XMITIP: XMITIP is freeware rather than a vendor supplied package. Thus there
XMITIP: is no formal support available.                                     
XMITIP:                                                                     
XMITIP: Message Addressing Information:                                     
XMITIP: From:  ANUJ.DHAWAN@SOME.COM                                     
XMITIP: To:    ANUJ.DHAWAN@SOME.COM                                     
XMITIP: Bcc:   SOME.ONE@SOME.COM                                       
XMITIP:                                                                     
XMITIP: The Mail Envelope:                                                   
XMITIP: Sender:   ANUJ DHAWAN <ANUJ.DHAWAN@SOME.COM>                     
XMITIP: Date:     20 Oct 2010 07:36:36 -0400                                 
XMITIP: From:     "ANUJ DHAWAN" <ANUJ.DHAWAN@SOME.COM>                   
XMITIP: To:       ANUJ.DHAWAN@SOME.COM                                   
XMITIP: Subject: Subject                                                   
Hope this helps.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 20, 2010 5:44 pm    Post subject:
Reply with quote

Anuj,

i stand corrected. Thanks for the lesson.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 20, 2010 6:11 pm    Post subject:
Reply with quote

Peter - I got your concern now, yes you're correct.

Lesson? Please stop it...you make me blush icon_redface.gif....

Regards, icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Oct 20, 2010 8:17 pm    Post subject:
Reply with quote

Hello,

Not very elegant, but one way to do this is to simply send the e-mail n times - to one recipient each time. . .
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Oct 20, 2010 8:30 pm    Post subject:
Reply with quote

Quote:
the whim of the current "Idiot of the day"


following up on this thought:

when one receives an email that was sent as BCC,
one knows that they have received a 'secret' message,
and handles the info accordingly.

otherwise, why use the BCC?

this is a real idiot problem.

because of the requirement, the normal distribution list 'utility' can not be used.

only solution is separate emails.
load the system with extra garbage
because some manager wants to exert authority.

i'd tell him to ****-off (you can interpret that fluidly or functionally)
Back to top
View user's profile Send private message
Kumaresan.nk

New User


Joined: 22 Mar 2010
Posts: 31
Location: Chennai

PostPosted: Thu Oct 21, 2010 1:41 pm    Post subject:
Reply with quote

Hi,

The scenario is to send everyone a link to access to know about thier insurance details. I guess sending n times would be the right option. Thanks for all your help.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Thu Oct 21, 2010 5:21 pm    Post subject:
Reply with quote

So each e-mail is actually different, specific to each recipient?

If so, then they obviously each need a separate e-mail.

If not, then what's wrong with BCC?

Before you clarify how to do something, you must clarify what you want to do.

Then, and this is important, have your manager/colleagues confirm, each agreeing in writing to the same specs, and if you are lucky, each agreeing on consecutive days to the same specs.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts Multiple parameters Csongor All Other Mainframe Topics 16 Thu Jun 09, 2016 7:54 pm
No new posts Define Alias for multiple Data sets u... sandy98669 JCL & VSAM 4 Fri May 27, 2016 1:07 pm


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