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 » how to send attachment using EmailOutput node?

Post new topic  Reply to topic
 how to send attachment using EmailOutput node? « View previous topic :: View next topic » 
Author Message
ram_svnit
PostPosted: Thu Sep 24, 2009 12:44 am    Post subject: how to send attachment using EmailOutput node? Reply with quote

Novice

Joined: 28 Aug 2009
Posts: 20
Location: India

Hi,
I have a message flow with MQInput, Compute and EmailOutput nodes.
The input message is an XML message. The requirement is to convert the XML to CSV format and mail it as a file attachment. I am able to convert to CSV format in the compute node. But how do i configure EmailOutput node so that it can be sent as an attachement instead of message body?
Back to top
View user's profile Send private message Yahoo Messenger
gregop
PostPosted: Thu Sep 24, 2009 12:57 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

Place the attachment data into OutputLocalEnvironmentDestination.Email.Attachment.Content

Set OutputLocalEnvironmentDestination.Email.Attachment.ContentName and ContentType.

See info center: EmailOutput
Back to top
View user's profile Send private message
ram_svnit
PostPosted: Thu Sep 24, 2009 1:09 am    Post subject: Reply with quote

Novice

Joined: 28 Aug 2009
Posts: 20
Location: India

where do i write that coding?in the compute node?Please excuse my ignorance..
Back to top
View user's profile Send private message Yahoo Messenger
Gaya3
PostPosted: Thu Sep 24, 2009 1:12 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

would you mind to search in this forum, this been discussed a lot here..
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
ram_svnit
PostPosted: Thu Sep 24, 2009 4:25 am    Post subject: Reply with quote

Novice

Joined: 28 Aug 2009
Posts: 20
Location: India

let me be specific- how do i configure EmailOutput node dynamically from LocalEnvironmnet or EmailOutputHeader??
Back to top
View user's profile Send private message Yahoo Messenger
gregop
PostPosted: Thu Sep 24, 2009 4:32 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

EmailHeader for E-mail addresses, subject...

LocalEnvironment for Attachment, SMTP.


http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ac37400_.htm
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Sep 24, 2009 8:49 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.

I'll give my standard reply to this question.

Install the Sample Email Flow. It can handle attachments.

I did this, added a trace node or two to the flow and understood what had to be done to make it work especially with binary attachments (output from Zip node)
_________________
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
mqjeff
PostPosted: Thu Sep 24, 2009 9:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It is also quite fun to play with building messages in the MIME domain.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 24, 2009 9:41 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
It is also quite fun to play with building messages in the MIME domain.


I enjoy that.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » how to send attachment using EmailOutput 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.