cancel
Showing results for 
Search instead for 
Did you mean: 

Send email with Attachment and Message in Body

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> 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.