Skip to Content
avatar image
Former Member

Receiver mail adapter - Message content coming as attachment

Hello,

I am trying to send emails out of SAP PO using receiver mail adapter. I need to send mail content and also 1 attachment.

I am using MailPackage, and i am checking "Keep attachments" on receiver mail adapter.

Problem 1 - I am populating "Content" field with required text. But this is coming on the email as attachment. I am using MessageTransformBean and specifying Transform.ContentDisposition as "inline" but still it does not work. I tried giving Transform.ContentType as "text/plain" but still it does not work. In "Content" field of the message structurei tried giving "text/plain". All of these did not work and i still get content as mail attachment.

Problem 2 - I am getting an attachment from sender ABAP proxy. On the mail that is sent out, it is not having its name, but it is having "Untitled". How can i retain the attachment name that is sent from Proxy, so that the attachment comes on the email with the same name?

Thanks

Chandra

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 01 at 08:05 AM

    Hello Chandra,

    For problem 1, it seems you are using MessageTransformBean, please make sure this module processor is the first module. The sequence is really important, please put it before the adapter specific module, then it should work.

    https://help.sap.com/viewer/2462a9a468b1491b91fda1923d23f667/7.4.15/en-US/570b2c4142aef623e10000000a155106.html

    Best Regards,

    Liz

    Add comment
    10|10000 characters needed characters exceeded