SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with missing attachment in incoming emails

milan_dobias
Explorer
0 Kudos
900

Hello,
I am solving a problem of incoming emails in SAP Office that contain attachments. It happens that for some emails the attachment/attachments are not visible, even in a SOIN, SCOT transaction. The body of the email is transferred correctly.
Emails arrive at the Exchange server where attachments are still correctly displayed.
However, when transferred from Exchange to SAP and then displayed, the attachment is no longer visible.
FM SO_ATTACHMENT_LIST_READ does not return any attachment for such an email.
The problem seems to occur with emails where the MIME protocol
Content-Type = multipart/alternative is used.

The actual message body is then stored in multiple formats

Content-Type: text/plain; charset=UTF-8

Content-Type: text/html; charset=UTF-8

In the MIME log of such an error message, the attachment section is also visible.

------=_Part_3_170778406.1667467490324
Content-Type: image/jpeg; name=attachment.jpg
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="attachment.jpg"

followed by the binary content of the attachment, in this case the attachment "attachment.jpg".

Error emails are generated from a mobile app (Android, iOS), using AWS.

In truth, now I have no idea how to solve the problem, I assume it should be a setup issue somewhere between Exchange and SAP.

Thank you for any advice...
MD

1 REPLY 1

thomas_schwarz7
Newcomer
0 Kudos
549

Hello Milan,

i've exactly the same problem ...

Do you have a solution for your problem in the meantime?

My next step ist to open a case with Mircrosoft.

Thank you

Thomas