cancel
Showing results for 
Search instead for 
Did you mean: 

Mail receiver Adapter

Former Member
0 Kudos

Hi all,

How can I send the content of the file as Body of the mail, not as an attachment. My scenario is File(FTP) to Mail.

Please help me in finding the solution.

Accepted Solutions (0)

Answers (7)

Answers (7)

RaghuVamseedhar
Active Contributor
0 Kudos

Hi All,

This issue is discussed in this thread Please contribute there.

Regards,

Raghu_Vamsee

Edited by: Raghu Vamsee on Jan 9, 2011 12:45 PM

Former Member
0 Kudos

Hi pothana Yadav,

But i am using File(FTP) at sender side without IR objects. so it will directly pick the flat file and place it in XI. Then how can i use mapping for this......

Former Member
0 Kudos

Hi Hareen and Abhilash,

Can we Convert the mail attachment '.xml' to '.txt' and send as as attachment. If possible send me some Information.

former_member472138
Active Contributor
0 Kudos

Hi

You will have to import a WSDL for sending mails. this WSDL is available on SAP Marketplace and it will have all details like from, to subject,and content. To get this WSDL just check this link,

https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt

Just do the mapping of the respective fields and the information mapped to the content field will be passed as the content of the mail.

Just check thise links out,it will surely help you

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

Regards

Pothana

Former Member
0 Kudos

Hi Hareen, Abilash,

I am using the following parameters.

Transport protocol: SMTP

Message Protocol: XIPAYLOAD

Without checking mail package.

For this Keep attachments or not, is not an issue, if we keep attachments it will take the name you have given as subject otherwise it will take the message no as file name.

Former Member
0 Kudos

Hi Raju,

I am not sure but still looking for a solution for this requirement.

Follow this blog: /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

For the content field, map the whole payload using the below link..

https://wiki.sdn.sap.com/wiki/display/XI/WholePayloadtoaXML+field

Thanks,

former_member200962
Active Contributor
0 Kudos
How can I send the content of the file as Body of the mail, not as an attachment.

Make use of XIPAYLOAD protocol in mail channel and use Mail Package.

More reference available here: /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

Regards,

Abhishek

Former Member
0 Kudos

Hi,

If you need to send a mail with both the body and attachment then,

select the Keep Attachments checkbox and go to Module tab and set ContentDisposition as inline in the receiver mail adapter

If not PI will produce the payload as as an attachment by default.

For more details check this guide:

[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992]

Former Member
0 Kudos

Hi Raju,

Ref: /people/community.user/blog/2006/09/07/email-reporting

Thanks,

Edited by: Hareenkumar on Dec 22, 2010 7:57 AM