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