Skip to Content
author's profile photo Former Member
Former Member

Mail Adapter - Attachment - orig msg + converted after mapping

Hello,

can somebody give me a little bit adivce. I have to send an email where the original message will be in the attachment and the message that will be the output of the message mapping.

=> getting the converted one into the mail body is not a problem but how can I access the other one in order to attach it?

Add comment
10|10000 characters needed characters exceeded

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2007 at 12:39 PM

    Hi Marco,

    Kindly go through the below mentioned Blog, I think this will help you. 😊

    /people/stefan.grube/blog/2007/04/17/xi-mail-adapter-an-approach-for-sending-emails-with-attachment-with-help-of-java-mapping

    Regards,

    Sarvesh

    ****Reward Points, if found helpful. 😊

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2007 at 12:43 PM

    Seems tricky. Two ideas only:

    1.: Write your own Module to the mail adapter, or

    2.: Use BPM

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2007 at 12:47 PM

    hey marco,

    these will help u...i guess

    Generic message interface in SAP XI email integration scenarios

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/genericmessageinterfaceinSAPXIemailintegrationscenarios&

    Mail Adaptor options

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

    regards

    biplab

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2007 at 01:04 PM

    thanks for all you help. but I think I'm searching for an other solution.

    I always have access to the payload after the message mapping but I can't access the payload which has been sent.

    I thought maybe building a scenario using the PayloadSwapBean but due to the fact that I have only one attachment I can't access the initial one because it'S always the MainDocument.

    do you maybe have anyother suggestions??

    Add comment
    10|10000 characters needed characters exceeded