cancel
Showing results for 
Search instead for 
Did you mean: 

PayloadZIPBean with Mail Package... is it possible?

Former Member
0 Kudos

Hi,

In proxy to file scenario, I send mails from PI with data received from proxy as attachment. I also need to zip the attachment.

I will be getting the email address dynamically, hence I should use Mail Package with 'Keep Attachments' option. Now the problem is if I use mail package since the <content> tag data is taken as mail attachment, can I use PayloadZipBean in receiver mail adapter to zip the attachemnt?

I tried using the follwoing adapter module in receiver mail mail adapter but ended with an error.

Module Name: AF_Modules/PayloadZipBean Module Key: zip

Module Config:

zip zip.filenameKey payloadName

zip zip.mode zipOne

Error:

org.xml.sax.SAXParseException: Content is not allowed in prolog

Regards,

Sreedhar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Is this answered? I also need the information mentioned above. Maybe you could help me. Please help me.

Thanks

prateek
Active Contributor
0 Kudos

>>hence I should use Mail Package with 'Keep Attachments' option.

Why can't you uncheck Keep Attachment option?

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Thanks for your reply..

If I uncheck the 'Keep Attachments' option, the <Content> tag data of Mail Package will appear in the body of the mail. I need it as an attachment.

Regards,

Sreedhar

former_member181962
Active Contributor
0 Kudos

Hi Sreedhar,

Have you looked at this help link?

http://help.sap.com/saphelp_nwpi711/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm

Also see :

Regards,

Ravi Kanth Talagana

Edited by: Ravi Kanth Talagana on Oct 22, 2009 5:13 PM

Former Member
0 Kudos

Hi Ravi,

Thanks of your reply...

However, I am aware of these info... this doesn't solve my purpose

Regards,

Sreedhar