on 03-12-2010 3:49 AM
Hi All,
I'm sending an email (Receiver Email Adapter) with a Zipped CSV file as an attachment. I used the following modules to achieve this.
1 localejbs/AF_Modules/StrictXml2PlainBean Local Enterprise Bean strict2plain
2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean contentType
3 localejbs/AF_Modules/TextCodepageConversionBean Local Enterprise Bean Transform
4 localejbs/AF_Modules/PayloadZipBean Local Enterprise Bean zip
5 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
Transform Conversion.charset ISO-8859-1
contentType Transform.ContentDispostion attachment;
contentType Transform.ContentType text/plain;charset="UTF-8";name="Attachment.csv"
contentType Transform.Description file
strict2plain DATA.endSeparator \r\n
strict2plain DATA.fieldSeparator ,
strict2plain fieldNames Result
strict2plain recordTypes DATA
zip zip.filenameKey contentType
zip zip.mode zipAll
My problem now is how to put text content in the body? Please help.
> My problem now is how to put text content in the body? Please help.
This is not possible with standard.
You have to write an adapter module for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.