|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to send Email by Email node with attachement |
« View previous topic :: View next topic » |
Author |
Message
|
namakkal |
Posted: Thu Aug 06, 2009 12:27 am Post subject: how to send Email by Email node with attachement |
|
|
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 |
|
 |
smdavies99 |
Posted: Thu Aug 06, 2009 1:23 am Post subject: |
|
|
 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 |
|
 |
namakkal |
Posted: Thu Aug 06, 2009 1:40 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|