cancel
Showing results for 
Search instead for 
Did you mean: 

Mailadapter, receive mails from mailserver: attachment?

JK
Contributor
0 Kudos

hello

i am receiving mails from the mailserver into xi with

the mailadapter

this is nice as long as the message data is in the mail text

but we are receiving mails with the message as mail attachment

i couldn't find a parameter to map/access the attachment, i always get the payload which is the normal mail text

the only way i could find is creating an an abap proxy as the receiver and send the attachment back to xi as normal payload

but the receiver should be the idoc adapter

Accepted Solutions (1)

Accepted Solutions (1)

arif_esa
Advisor
Advisor
0 Kudos

Hi Klaus,

i face this problem now . i am wonder if you can tell me how did you solved this problem.

best regards

arif

stefan_grube
Active Contributor
0 Kudos

If the attachment is always the same, you can use the PayloadSwapBean (see note 794943) to get the attachment as main payload.

If not, you need to write an adapter module by your own, which figures out, what the right payload is.

Regards

Stefan

arif_esa
Advisor
Advisor
0 Kudos

hi,

should i delete the standard entry in the module or just add the PayloadSwapBean .

regards

arif

stefan_grube
Active Contributor
0 Kudos

Just add the PayloadSwapBean before the standard entry.

Stefan

arif_esa
Advisor
Advisor
0 Kudos

THANK YOU. IS THE ANY FURTHER SETTING IN THE MEIL ADPATER?

LIKE KEEP ATTACHMENT , ETC.

danke

arif

arif_esa
Advisor
Advisor
0 Kudos

Hi stefan,

i entered the module and it does not word , i still get two payloads. what i do in this case?

regards

arif

stefan_grube
Active Contributor
0 Kudos

Sure you get two payloads. You have to decide, which one is necessary for you, which you want to map.

If you want to work on both, you need to code that in adapter module by yourself.

Stefan

arif_esa
Advisor
Advisor
0 Kudos

where can i set which one to be mapped ?

regards

arif

Answers (0)