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?
Currently, our application uses a javax.mail to send email, using javax.mail.MailMessage. We set the From headers of the email this way: