Author |
Message
|
cool_dev |
Posted: Thu May 08, 2008 7:33 am Post subject: Set dynamically the recipients for MIME msg thru EmailOutput |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu May 08, 2008 9:30 am Post subject: |
|
|
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 |
|
 |
_dave_ |
Posted: Fri May 09, 2008 12:42 am Post subject: |
|
|
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 |
|
 |
cool_dev |
Posted: Fri May 09, 2008 6:03 am Post subject: |
|
|
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 |
|
 |
mqmatt |
Posted: Fri May 09, 2008 6:48 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
SMTPOutputHeader => EmailOutputHeader |
|
Back to top |
|
 |
_dave_ |
Posted: Fri May 09, 2008 7:03 am Post subject: |
|
|
Apprentice
Joined: 08 Apr 2005 Posts: 33 Location: IBM Hursley
|
|
Back to top |
|
 |
|