Author |
Message
|
SuvenC |
Posted: Mon Aug 25, 2003 12:22 am Post subject: Send Mail Attachments |
|
|
 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 |
|
 |
EddieA |
Posted: Mon Aug 25, 2003 4:13 pm Post subject: |
|
|
 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 |
|
 |
SuvenC |
Posted: Mon Aug 25, 2003 11:47 pm Post subject: |
|
|
 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 |
|
 |
vanvught |
Posted: Tue Nov 04, 2003 1:38 pm Post subject: |
|
|
 Apprentice
Joined: 02 Jul 2001 Posts: 35 Location: The Netherlands
|
|
Back to top |
|
 |
rkford11 |
Posted: Fri Oct 15, 2004 11:40 am Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
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 |
|
 |
jefflowrey |
Posted: Fri Oct 15, 2004 11:43 am Post subject: |
|
|
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 |
|
 |
vanvught |
Posted: Fri Oct 15, 2004 11:50 am Post subject: |
|
|
 Apprentice
Joined: 02 Jul 2001 Posts: 35 Location: The Netherlands
|
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 |
hi, the new version (available in about two weeks) will do the base64 encoding for you.
Regards, Arjan |
|
Back to top |
|
 |
rkford11 |
Posted: Fri Oct 15, 2004 12:23 pm Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
vanvught wrote: |
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 |
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 |
|
 |
vanvught |
Posted: Fri Oct 22, 2004 10:02 am Post subject: SUPPORTPAC UPDATES |
|
|
 Apprentice
Joined: 02 Jul 2001 Posts: 35 Location: The Netherlands
|
|
Back to top |
|
 |
rkford11 |
Posted: Fri Oct 22, 2004 1:26 pm Post subject: Re: SUPPORTPAC UPDATES |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
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 |
|
 |
vanvught |
Posted: Mon Oct 25, 2004 9:03 am Post subject: |
|
|
 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 |
|
 |
rkford11 |
Posted: Mon Oct 25, 2004 11:18 am Post subject: |
|
|
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 |
|
 |
rkford11 |
Posted: Tue Nov 02, 2004 4:32 pm Post subject: |
|
|
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 |
|
 |
vanvught |
Posted: Wed Nov 10, 2004 1:19 am Post subject: |
|
|
 Apprentice
Joined: 02 Jul 2001 Posts: 35 Location: The Netherlands
|
|
Back to top |
|
 |
|