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 » EmailOutput node with Multiple Attachments?

Post new topic  Reply to topic
 EmailOutput node with Multiple Attachments? « View previous topic :: View next topic » 
Author Message
jfrankman
PostPosted: Thu Aug 20, 2009 12:53 pm    Post subject: EmailOutput node with Multiple Attachments? Reply with quote

Apprentice

Joined: 18 Jun 2009
Posts: 36

Looking at the Broker Documentation it appears that the EmailOutput node can only send email with a single attachment. Is there a way to send an email with more than one attachment?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Aug 20, 2009 1:32 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I believe that the EmailOutput node will fully serialize all parts of a MIME message body into the Output.
Back to top
View user's profile Send private message
gregop
PostPosted: Thu Aug 20, 2009 10:59 pm    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

How about using the LocalEnvironment Destination instead of node properties.

Destination.Email.Attachment[].Content
Back to top
View user's profile Send private message
jfrankman
PostPosted: Fri Aug 21, 2009 6:16 am    Post subject: Reply with quote

Apprentice

Joined: 18 Jun 2009
Posts: 36

If I understand you correctly I would do this:

Set Destination.Email.Attachment[1].Content = attach1Var;
Set Destination.Email.Attachment[2].Content = attach2Var;
Set Destination.Email.Attachment[3].Content = attach3Var;

Is this right?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 21, 2009 6:56 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You need to be storing it in the LocalEnvironment folder.

Code:

   set OutputLocalEnvironment.Destination.Email.Attachment[1].Content =

_________________
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
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 » EmailOutput node with Multiple Attachments?
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.