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 » Send Mail Attachments

Post new topic  Reply to topic
 Send Mail Attachments « View previous topic :: View next topic » 
Author Message
SuvenC
PostPosted: Mon Aug 25, 2003 12:22 am    Post subject: Send Mail Attachments Reply with quote

Newbie

Joined: 23 Jun 2003
Posts: 4

Hi can anyone please tell me how do i send attachments via email using Send Mail Plugin version 1.7 ?

Thank You
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Mon Aug 25, 2003 4:13 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Read the PDF that comes as part of the package.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
SuvenC
PostPosted: Mon Aug 25, 2003 11:47 pm    Post subject: Reply with quote

Newbie

Joined: 23 Jun 2003
Posts: 4

Thanks for replying Eddie but can you tell me what the CDATA section is and the info inside the CDATA brackets ? Below is an example from the PDF package.

Simple file attachment
TXT file sample
<Message>
<From>mqsi@nlrg119</From>
<To>Arjan@nlrg119</To>
<Subject>An e-mail with attachment</Subject>
<Body>(See attached file: xWMQ.txt)</Body>
<Base64 ContentType="application/octet-stream" Name="xWMQ.txt">
<![CDATA[VGhlIFdCSSBCMkIgcGxhdGZvcm06IGh0dHA6Ly9lZGkuc2VydmljZXMuaWJtLmNvbS9tcXNlcmll
cy9zcGVjX3NoZWV0cy5zaHRtbA==]]>
</Base64>
</Message>
Back to top
View user's profile Send private message Send e-mail
vanvught
PostPosted: Tue Nov 04, 2003 1:38 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2001
Posts: 35
Location: The Netherlands

The CDATA is the base64 encoded part of your attachment.

Regards, Arjan

WBI: WebSphere MQ and B2B -->
http://edi.services.ibm.com/mqseries/spec_sheets.shtml
Back to top
View user's profile Send private message
rkford11
PostPosted: Fri Oct 15, 2004 11:40 am    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

vanvught wrote:
The CDATA is the base64 encoded part of your attachment.

Regards, Arjan

WBI: WebSphere MQ and B2B -->
http://edi.services.ibm.com/mqseries/spec_sheets.shtml


hi vanvught,

i have a txt file on my system, which i have to attach, how can i do that. how can i get base64 encoded part of the attachment.

thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 15, 2004 11:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

rkford11 wrote:

hi vanvught,

i have a txt file on my system, which i have to attach, how can i do that. how can i get base64 encoded part of the attachment.

thanks


You will have to in some manner retrieve the contents of the file, and then encode them using the base 64 encoding algorithm, and then put the resulting bitstream into the CDATA section.

This will be very difficult to do in ESQL.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vanvught
PostPosted: Fri Oct 15, 2004 11:50 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2001
Posts: 35
Location: The Netherlands

rkford11 wrote:
vanvught wrote:
The CDATA is the base64 encoded part of your attachment.

Regards, Arjan

WBI: WebSphere MQ and B2B -->
http://edi.services.ibm.com/mqseries/spec_sheets.shtml


hi vanvught,

i have a txt file on my system, which i have to attach, how can i do that. how can i get base64 encoded part of the attachment.

thanks


hi, the new version (available in about two weeks) will do the base64 encoding for you.

Regards, Arjan
Back to top
View user's profile Send private message
rkford11
PostPosted: Fri Oct 15, 2004 12:23 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

vanvught wrote:
rkford11 wrote:
vanvught wrote:
The CDATA is the base64 encoded part of your attachment.

Regards, Arjan

WBI: WebSphere MQ and B2B -->
http://edi.services.ibm.com/mqseries/spec_sheets.shtml


hi vanvught,

i have a txt file on my system, which i have to attach, how can i do that. how can i get base64 encoded part of the attachment.

thanks


hi, the new version (available in about two weeks) will do the base64 encoding for you.

Regards, Arjan


Thanks Arjan, please do send me the link once the new version is released.
Back to top
View user's profile Send private message
vanvught
PostPosted: Fri Oct 22, 2004 10:02 am    Post subject: SUPPORTPAC UPDATES Reply with quote

Apprentice

Joined: 02 Jul 2001
Posts: 35
Location: The Netherlands

Updated: IA06, IA07, IA08, IA0D & IA99

Here's the link to the indexes:

http://www-306.ibm.com/software/integration/support/supportpacs/category.html#cat2
Back to top
View user's profile Send private message
rkford11
PostPosted: Fri Oct 22, 2004 1:26 pm    Post subject: Re: SUPPORTPAC UPDATES Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

vanvught wrote:
Updated: IA06, IA07, IA08, IA0D & IA99

Here's the link to the indexes:

http://www-306.ibm.com/software/integration/support/supportpacs/category.html#cat2


Thank you Arjan.
I have one more question. i understood the format of the message without attachment and i was able to test it by putting it onto the i/p queue. how do i attach an attachment to the message and send it to the i/p queue of the message flow.

<Message> <From>mqsi@nlrg119</From> <To>Arjan@nlrg119</To> <Subject>An e-mail with attachment</Subject> <Body>See attached file: attachment.xml)</Body> <EncodingBase64 ContentType="text/plain" Name="attachment.xml"/> </Message>

from the format i understand that attachment.xml file is at some location and you are mentioning the name of the file in the message. is it the work of an application?

thanks
Back to top
View user's profile Send private message
vanvught
PostPosted: Mon Oct 25, 2004 9:03 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2001
Posts: 35
Location: The Netherlands

hi,
You generate an attachment by means of using the EncodingBase64 or Encoding7Bit XML tag. The plug-in will build an email message with attachment. The input is a single XML message, or a single XML message and then extending the message tree with a BLOB (using a compute node). This release can do the base64 encoding for you, if needed.
Back to top
View user's profile Send private message
rkford11
PostPosted: Mon Oct 25, 2004 11:18 am    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

vanvught wrote:
hi,
You generate an attachment by means of using the EncodingBase64 or Encoding7Bit XML tag. The plug-in will build an email message with attachment. The input is a single XML message, or a single XML message and then extending the message tree with a BLOB (using a compute node). This release can do the base64 encoding for you, if needed.


Thanks Arjan. please make the concept little bit more clear to me. i have a files attachment.xml and wmq.txt on my desktop.now how do i encode them to base64 using the latest release.
can you please suggest me how to generate an attachment by means of using the Encoding64 or Encoding 7Bit which i have to include in the input message.

Thanks
Back to top
View user's profile Send private message
rkford11
PostPosted: Tue Nov 02, 2004 4:32 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

vanvught wrote:
hi,
You generate an attachment by means of using the EncodingBase64 or Encoding7Bit XML tag. The plug-in will build an email message with attachment. The input is a single XML message, or a single XML message and then extending the message tree with a BLOB (using a compute node). This release can do the base64 encoding for you, if needed.


Has any body worked with the latest version of Sendmailplugin node. when i input the message the format
<Message>
<From>abc@abc.com</From>
<To> xyz@xyz.com</To>
<Subject>sendmail</Subject>
<Body>sendmailplugin node </Body>
</Message>

It gives me an error asking for domain name of the sender. please let me know where i am making the mistake.

Thanks
Back to top
View user's profile Send private message
vanvught
PostPosted: Wed Nov 10, 2004 1:19 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2001
Posts: 35
Location: The Netherlands

You can find the description of the replies to SMTP commands at http://www.freesoft.org/CIE/RFC/821/index.htm
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 » Send Mail 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.