cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Adapter : Receiving a Dat file

Former Member
0 Kudos

Hi,

I am sending an error message to MAIL adapter during a IDOC->XI<->HTTP Receive.

I am getting the error message to my email id in the form of .DAT file(an attachment)

The "Keep Attachments" is unchecked.

Why is that i am not able to get this within the body of the email?

Thanks,

Tirumal

Accepted Solutions (0)

Answers (2)

Answers (2)

STALANKI
Active Contributor
0 Kudos

use this blogs...they will be helpful...

PAYLOAD SWAP BEAN

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

Former Member
0 Kudos

hi,

These blogs help me send an email with attachments which i do not want.

I am getting the message in .DAT file which i have to open in an editor but i want the contents to be the body of the email.

e.g.

<email_text>

<id>123</id>

<name>123Test</name>

<datesent>06/06/06</datesent>

</email_text>

I need to see the contents of the email as <id>, <name> and <datesent> in the body.

I am on SP16.

Thanks again,

Tirumal

Former Member
0 Kudos

When not using mail package , the data will always come as an attachment...

.dat attachment file will always come though Keep Attachement unchecked..

You have to use message transform bean and set the content type to text...

Transform.ContentType = text/plain;charset=utf-8

Former Member
0 Kudos

Hi,

SAP Help

<i>If you want to forward XI attachments in e-mail attachments, set the Keep Attachments indicator.

You use the PayloadSwapBean module to swap the application payload with one of the attachments.</i>

Hope thats what you are looking for?

Regards

Vijaya