cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Image via java Mapping in sap pi

Former Member
0 Kudos

Hello Experts,

     My Scenario is SOAP to Mail. I need to send E-mail body as a HTML Text and Images by Java Mapping and Mail adapter as a receiver with out using Mail Package(Since Client not accepting mail package). Would request you to kindly help on the same for java mapping code so that i can proceed further. As of now I am using body text in the string in the java code and converting the same by using INLINE parameter in the Communication channel for the mail body.

Kindly help on the same!!! 

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

Check my blog to get some ideas about it: http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/09/04/create-email-with-body-and-attach... When you want to have HTML code with an inline picture, then you have to analyse carefully the multi-part items on a real email. I recommend reading all attachments with Java mapping and create the whole MIME stream at once.