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 SendMailPlugIn????

Post new topic  Reply to topic
 How to send attachment using SendMailPlugIn???? « View previous topic :: View next topic » 
Author Message
bisu
PostPosted: Fri Aug 22, 2008 3:15 am    Post subject: How to send attachment using SendMailPlugIn???? Reply with quote

Apprentice

Joined: 05 Jan 2005
Posts: 25
Location: India

Hello,
I am using SendMailPlugIn node(IA07), MB 6 on Solaris. I am able to send email but finding hard time with attachment. I wrote a flow like
MQInputNode -> ComputeNode > SendmailPlugInNode > MQOutPutNode.
In the compute Node I wrote the following
CALL CopyMessageHeaders();
SET OutputRoot.XML.Message.To = <A Valid email ID>
SET OutputRoot.XML.Message.Subject = 'Test mail email plugin node';
SET OutputRoot.XML.Message.Body = 'Attachment Test';
CREATE FIELD OutputRoot.XML.Message.EncodingBase64;
SET OutputRoot.XML.Message.EncodingBase64.(XML.Attribute) ContentType = 'text/plain';
SET OutputRoot.XML.Message.EncodingBase64.(XML.Attribute)Name = 'Attachment.xml';
SET OutputRoot.XML.Message.EncodingBase64.(XML.CDataSection) = CAST(ASBITSTREAM(InputBody) AS CHARACTER CCSID InputRoot.MQMD.CodedCharSetId);
I did put a BLOB message to Input Queue. I can see all the elements are present in the Output Queue, I am getting the email but with no attachment. I can see that all the elements are being identified in following in /tmp/SendMailPlugInDebug.txt with return code 0. Could anyone please help me on this????

Thanks
Bisu
Back to top
View user's profile Send private message Yahoo Messenger
Gaya3
PostPosted: Fri Aug 22, 2008 3:19 am    Post subject: Reply with quote

Jedi

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

please search this forum once...
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
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 SendMailPlugIn????
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.