cancel
Showing results for 
Search instead for 
Did you mean: 

Change e-mail body in mail adapter using module.

Former Member
0 Kudos

Hi All,

I am woking with one mail adapter and I prepared one code to change the attachement name and body content. The attachement is working good but the body e-mail is not working.

After to check a lot of blog my code now is creating two attachements one with the Payload (xml) and other with the text that suppose to come as a body e-mail.

Someone could help me ?

Thanks a lot.

Michael Peretto

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael,

Can you check if your main attachment (the one that should be the mail text) does not carry the wrong content-disposition header?

The easiest way to check is to use some message capturing tool (e.g., TCPGateway attached in the SOAP FAQ Note). If this header is present, it should have value inline to inform the mail client to display the content in inline. If the value is set wrong, the MessageTransformBean module can be misused to repair this content header.

Best regards, Yza

Answers (0)