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 Email by Email node with attachement

Post new topic  Reply to topic
 how to send Email by Email node with attachement « View previous topic :: View next topic » 
Author Message
namakkal
PostPosted: Thu Aug 06, 2009 12:27 am    Post subject: how to send Email by Email node with attachement Reply with quote

Novice

Joined: 06 Feb 2009
Posts: 19

Hi All,

I never used Email Node in Flow , now i have recuirement, like to send Attachment(csv format) in mail using Email node. could you please help us on this.

Regards
Sathish
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Thu Aug 06, 2009 1:23 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.

If you install the sample from the toolkit and read the instructions, you can use it to send an attachment.

This question has been asked before (I know because I used almost the same words before) so did you do a search of this forum for possible answers.

Please try some things out and then if you have problems come back and I'm sure your problem will be solved.
_________________
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
namakkal
PostPosted: Thu Aug 06, 2009 1:40 am    Post subject: Reply with quote

Novice

Joined: 06 Feb 2009
Posts: 19

smdavies99 wrote:
If you install the sample from the toolkit and read the instructions, you can use it to send an attachment.

This question has been asked before (I know because I used almost the same words before) so did you do a search of this forum for possible answers.

Please try some things out and then if you have problems come back and I'm sure your problem will be solved.


i imported and read the sample for Email input. they were used java to set the properties of the Email but i am doing it in ESQL node,

my code is like this,


SET OutputRoot.EmailOutputHeader.To = 'test@gmail.com';
SET OutputRoot.EmailOutputHeader.From = 'kumar@gmail.com';
SET OutputRoot.EmailOutputHeader.Subject = 'Subject';
SET OutputLocalEnvironment.Destination.Email.BodyContentType = 'text/plain';
SET OutputLocalEnvironment.Destination.Email.SMTPServer = '10.94.68.90';
SET OutputLocalEnvironment.Destination.Email.Attachment.Content = 'testdata';


in above code i am directly hard coding some string to Attachment.Content.

Thanks
Sathish
Back to top
View user's profile Send private message Send e-mail
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 Email by Email node with attachement
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.