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 » Attachment in E-Mail Output node

Post new topic  Reply to topic
 Attachment in E-Mail Output node « View previous topic :: View next topic » 
Author Message
sankritya
PostPosted: Fri Feb 22, 2008 4:47 am    Post subject: Attachment in E-Mail Output node Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Hi All,

I am facing a small problem.In a simple msgflow with MQInput-> Compute->MQOutput I have attached the catch and failure terminal of the MQInput node to the EmailOutput. I want to send the exception generated in flow as attachment to a address.In attachment content field i have written $ExceptionList by browsing from the available menu.Other properties are set as:
Attachment content type: Text/xml
Attachment Content Encoding: 7bit:no encoding used for ASCII
Multipart Content Type: mixed :MIME each body part is indeopendent of others.

I am sending an XML message .
The problem is : Email is coming to the mail along with the attachment but attachment is blank.It is not populated with exception list.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 22, 2008 4:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

The Search Button is Your Friend. Sending e-mails with attachments has been discussed many times.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 22, 2008 6:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Vitor wrote:
The Search Button is Your Friend. Sending e-mails with attachments has been discussed many times.


Yes, but not actually with the new EmailOutput node in v6.1...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 22, 2008 6:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jefflowrey wrote:
Vitor wrote:
The Search Button is Your Friend. Sending e-mails with attachments has been discussed many times.


Yes, but not actually with the new EmailOutput node in v6.1...




Really? That's twice today!

Time to stop posting for a while....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Fri Feb 22, 2008 7:52 am    Post subject: Reply with quote

Grand Master

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

I may be talking utter gibberish here (more than usual), but $ExceptionList is a tree, and the attachment content field is expecting a node element that contains either a BLOB or a text reference to another element.

MBDocs for Attachment Content Field wrote:
Either the actual attachment (BLOB/text), or an XPath or ESQL expression that references an element; for example, an element in the message tree or LocalEnvironment. The value of the referenced element is taken as the content of the attachment.
If the element is a BLOB, it is an attachment.
If the element is text, check to see if it can be resolved to another element in the message tree or LocalEnvironment. If it can be resolved, use that element. If it cannot be resolved, add this element as the attachment.

You may need to serialise the exception list as a BLOB before adding it to the attachment content.
Back to top
View user's profile Send private message
jharringa
PostPosted: Fri Feb 22, 2008 12:50 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Aug 2007
Posts: 70

One other thing to make sure of is that you're compute node has the Compute mode of "LocalEnvironment and Message" in the Basic tab.

That one was a head-slapper for me when I first started using EmailOutput.
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 » Attachment in E-Mail Output node
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.