|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
EmailOutput Node |
« View previous topic :: View next topic » |
Author |
Message
|
RNStanich |
Posted: Fri Aug 29, 2008 10:31 am Post subject: EmailOutput Node |
|
|
Acolyte
Joined: 23 Apr 2002 Posts: 64
|
Hi all, I think I'm missing the boat on this node. Help notes that,
"The main text of the e-mail. If you do not specify a value for the MessageText property, the text of the e-mail is the body of the message tree that is passed to the EmailOutput node."
I've set up the To, From, Subject, smtp server and if I enter text into this field under the node's properties it works fine. I'm simply trying to email to myself the message as it is passed to the email node.
Can someone supply simple code on accomplishing this? _________________ Regards, Bob |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Sep 01, 2008 2:29 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
You can't use the EmailOutput node to output all branches of a given tree, it works by serializing a single leaf element. (Unlike the Trace node, for example.)
You'll need to serialize your message into a single element and use that to contain your message body. |
|
Back to top |
|
 |
_dave_ |
Posted: Mon Sep 01, 2008 4:13 am Post subject: |
|
|
Apprentice
Joined: 08 Apr 2005 Posts: 33 Location: IBM Hursley
|
Hi RNStanich,
If you want to email the body of the message as it is passed to the email output node, then you shouldn't be specifying any message text on the node itself.
Leave the smtp server and To information but remove message text from the node. Redeploy and put the message through the flow and see what email you get. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Sep 02, 2008 3:50 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Install the IA99 Support pack and zip up the incoming message after saving the root into the Environment.
Set Environment.Save = InputRoot;
Then add the .zip as an attachment to your email. That way, whatever format the incoming email arrives in you will get it.
This way, you can get the MQMD & the properties folders as well as the data in the messages. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
RNStanich |
Posted: Tue Sep 02, 2008 4:41 am Post subject: |
|
|
Acolyte
Joined: 23 Apr 2002 Posts: 64
|
Thank you all for your suggestions and time. I'll give them all a try. BTW _dave_, the message text I used was just to test a basic setup. I have cleared it out, but thanks...sometimes it is the simple things that trip you up. _________________ Regards, Bob |
|
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
|
|
|
|