Mule ESB - How to get MimeMessage instead of MimeBodyPart?

Posted by Padmarag on Stack Overflow See other posts from Stack Overflow or by Padmarag
Published on 2010-03-25T11:38:01Z Indexed on 2010/03/29 6:23 UTC
Read the original article Hit count: 390

Filed under:
|
|
|
|

I'm trying to get the FROM email address in Mule ESB.
I'm getting the retrieved object as MimeBodyPart, I'd like to have MimeMessage instead. How to do this?

Any solution - either in Mule or Java is welcome.

The Mule config part for inbound end-point is as below -

<inbound>
    <pop3s:inbound-endpoint user="xxx%40gmail.com" password="xxx" host="pop.gmail.com"/>
</inbound>

Thanks in advance.

© Stack Overflow or respective owner

Related posts about mule

Related posts about esb