cancel
Showing results for 
Search instead for 
Did you mean: 

problem is mail adapter

Former Member
0 Kudos

Hi

I have done the mail adapter... in this, mail adapter is sender... i am testing my senarion in sxmb_moni in this i am getting the all read mials from my inbox i am not getting the unread mail... i want to pick only unread mail by sapxi and i have to place it into target direcory... i am getting the file into target directory but its not correct one... i have to get the file in target directory like this:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:File_Message_Type xmlns:ns0="http://mailtofiledemo.com/ravi">\

<row>

<name>Ravi</name>

<address>Vsp</address>

<material>Computer</material>

<units>3</units>

<price>90000</price>

</row>

</ns0:File_Message_Type>

but i am gettin only file like this:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:File_Message_Type xmlns:ns0="http://mailtofiledemo.com/ravi"></ns0:File_Message_Type>

Thanks & Regards

Ravi Shankar B

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

> i am testing my senarion in sxmb_moni in

> this i am getting the all read mials from my inbox i

> am not getting the unread mail

That sound strange. Which SP do you have? Try to use the newest patch. Which mail server do you use?

Regards

Stefan

Former Member
0 Kudos

Hi Ravishankar,

When you are configuring the Sender mail adapter, try working around the 'Use mail package' function in the adapter settings..

Have a look at these..

http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm

Hope it helps you!

cheers,

Prashanth

bhavesh_kantilal
Active Contributor
0 Kudos

hi,

Check this blog to see how to use the payload swap bean of the mail adapter.

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

the name of the attachment has to be the name you have given in the payload swap bean.

And then check your mapping.

Regards,

Bhavesh