ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Set dynamically the recipients for MIME msg thru EmailOutput

Post new topic  Reply to topic
 Set dynamically the recipients for MIME msg thru EmailOutput « View previous topic :: View next topic » 
Author Message
cool_dev
PostPosted: Thu May 08, 2008 7:33 am    Post subject: Set dynamically the recipients for MIME msg thru EmailOutput Reply with quote

Newbie

Joined: 08 May 2008
Posts: 6

Hi,

looking to send MIME Email msg, originally created with JMS, sent to WMB which then send those to the Email server (P2P of course). Looks like this:
JMSInput -> Compute node -> EmailOutput -> SMTP Server

The requirement is to send off files as MIME attachements into Email. However, there are many different files to send to many different recipients, so the preferred way of doing this would be to dynamically set the recipients, and not to rely upon the recipients originally set in the EmailOutput node.

However, the EmailOutput node doc from v6.1 states
Quote:
This message is then sent to the list of recipients in the SMTP header. LocalEnvironment overrides are not taken into consideration when a MIME message is passed.

Is there a way to implement this without having to use a different EmailOutput object for every different list of recipients ?

Currently using WMB v6.1 with EmailOutput node
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu May 08, 2008 9:30 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I do not think that means what you think it means.

It's easier to try and confirm this yourself than read between the lines of the doc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
_dave_
PostPosted: Fri May 09, 2008 12:42 am    Post subject: Reply with quote

Apprentice

Joined: 08 Apr 2005
Posts: 33
Location: IBM Hursley

Hello,

You can dynamically set the recipients in the SMTPOutputHeader and pass MIME for the body (including any attachments).

You would need to architect your flow to call the SMTPOutput header as many times as the number of emails required.

You shouldn't need to be putting any recipient information on the node itself as you will set this up dynamically.

Does that help?
Back to top
View user's profile Send private message
cool_dev
PostPosted: Fri May 09, 2008 6:03 am    Post subject: Reply with quote

Newbie

Joined: 08 May 2008
Posts: 6

_dave_: is SMTPOutputHeader a node or a part of a provided node, as cannot find this in the WMB v6.1 doc ?

Grand: got that one right, it's a good way to clear things out, and I'm working on it. But the doc provided with the product would benefit to be more precise on this point.

thank's for replies, much appreciated
Back to top
View user's profile Send private message
mqmatt
PostPosted: Fri May 09, 2008 6:48 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

SMTPOutputHeader => EmailOutputHeader
Back to top
View user's profile Send private message
_dave_
PostPosted: Fri May 09, 2008 7:03 am    Post subject: Reply with quote

Apprentice

Joined: 08 Apr 2005
Posts: 33
Location: IBM Hursley

Thanks mqmatt. I did mean EmailOutputHeader of course.

Details are here: http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac37400_.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Set dynamically the recipients for MIME msg thru EmailOutput
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.