|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
EmailNode - MIME domain - |
« View previous topic :: View next topic » |
Author |
Message
|
Herbert |
Posted: Tue Mar 16, 2010 8:30 am Post subject: EmailNode - MIME domain - |
|
|
 Centurion
Joined: 05 Dec 2006 Posts: 146 Location: Leersum, The Netherlands
|
It is possible to use the EmailOutput node with a mesage in the MIME domain, the online help says below about it.
Quote: |
This message is then sent to the list of recipients in the SMTP header. Local environment overrides are not taken into consideration when a MIME message is passed |
The MIME message does have a SMTP header with "To ...", it still gives a exception
Quote: |
BIP4455E: No recipient address was specified.
The EmailOutput node cannot create and send an e-mail as no recipient address (To, Cc, or
Bcc) has been specified.
At least one recipient address is required to send an e-mail. Recipient addresses can be s
pecified as node properties, or in the EmailOutputHeader. Review the message flow to ensur
e that at least one address is specified in one of these locations. |
If I add those headers in ESQL with below statements then the mail is sent
Code: |
SET OutputRoot.EmailOutputHeader.To = 'herbert@test.nl';
SET OutputRoot.EmailOutputHeader.From = 'Herbert <herbert@test.nl> l'; |
However, now both are used, resulting in a incorrect message.
Anyone an idee what I'm doing wrong? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 16, 2010 9:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I believe that the node does not honor the To field in the MIME document, as you've seen, when it goes to actually *send* the message.
It's the only one that doesn't get honored, so the From and etc. are fine to set in either location.
If you're setting the fields in both places, that explains the duplication. Just because the OutputRoot.MIME.To field is ignored by the send operation, that doesn't mean it's not serialized into the tree, or that the EmailOutputHeader contents are not also added to the tree regardless of what's in the MIME document. |
|
Back to top |
|
 |
Herbert |
Posted: Wed Mar 17, 2010 1:39 am Post subject: |
|
|
 Centurion
Joined: 05 Dec 2006 Posts: 146 Location: Leersum, The Netherlands
|
Thanks for your answer, ok, "SMTP header" from "This message is then sent to the list of recipients in the SMTP header" is pointing to OutputRoot.EmailOutputHeader and not to the children of the MIME domain (although they will be placed in the outgoing SMTP header) as our main dutch philosopher says "You will only see it when you get it" |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|