Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Send email attachment inline - OSB

user11143079Nov 15 2013 — edited Nov 21 2013


Hello,

I am sending an email with an xml attachment to another system. The target system expects the email attachment to be in 'inline'.  Here is my configuration for this.

<con:attachment xmlns:con="http://www.bea.com/wli/sb/context"> 

  <con:Content-Type>text/xml</con:Content-Type>

  <con:Content-Transfer-Encoding>7bit</con:Content-Transfer-Encoding>  

  <con:Content-Disposition>inline; filename=”MyXML”</con:Content-Disposition>

  <con:body>{$attachmentXML}</con:body> <!-- dynamically populated -->

  <con:body>

My problem is when the email reaches the target, the attachment is not displayed 'inline'. My understanding is with the above configuration 'Content-Disposition' as 'inline', the attachment should be displayed inside 'body' (without the 'paper clipping' image)

Please note: If I use a java class to publish with the above content disposition, the attachment is displayed 'inline'. So I am not worried about the target SMTP server and the target system.

Any help will be appreciated.

With Regards,

Ranjith

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2013
Added on Nov 15 2013
13 comments
2,226 views