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

MUtility To Mail Multiple People !


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 20, 2010 4:04 pm
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: 8796
Location: Welsh Wales

PostPosted: Wed Oct 20, 2010 4:05 pm
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

Superior Member


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

PostPosted: Wed Oct 20, 2010 5:14 pm
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

Superior Member


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

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

Search the Forum on xmitip. One related therad is: 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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 20, 2010 5:18 pm
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

Superior Member


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

PostPosted: Wed Oct 20, 2010 5:31 pm
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: 2481
Location: Netherlands, Amstelveen

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

Anuj,

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

Superior Member


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

PostPosted: Wed Oct 20, 2010 6:11 pm
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

Moderator Emeritus


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

PostPosted: Wed Oct 20, 2010 8:17 pm
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
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
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

Senior Member


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

PostPosted: Thu Oct 21, 2010 5:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts combine multiple unique records into ... DFSORT/ICETOOL 2
No new posts SORT JCL to merge multiple tow into s... DFSORT/ICETOOL 6
No new posts Using Multiple IFTHEN and WHEN condit... SYNCSORT 12
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top