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 » EmailNode - MIME domain -

Post new topic  Reply to topic
 EmailNode - MIME domain - « View previous topic :: View next topic » 
Author Message
Herbert
PostPosted: Tue Mar 16, 2010 8:30 am    Post subject: EmailNode - MIME domain - Reply with quote

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.

Code:
From: Herbert <herbert@test.nl>
From: Herbert <herbert@test.nl>
To: test@test.nl
To: test@test.nl

Anyone an idee what I'm doing wrong?
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Mar 16, 2010 9:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Herbert
PostPosted: Wed Mar 17, 2010 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » EmailNode - MIME domain -
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.