public class EmailContentProcessor extends Object
Message introspects it's content to obtain the body an the attachments if any.| Modifier and Type | Method and Description |
|---|---|
List<org.mule.runtime.api.message.Message> |
getAttachments() |
String |
getBody() |
static EmailContentProcessor |
getInstance(javax.mail.Message message)
Factory method to get a new instance of
EmailContentProcessor and process a Message. |
public static EmailContentProcessor getInstance(javax.mail.Message message)
EmailContentProcessor and process a Message.message - the Message to be processed.EmailContentProcessor instance.public String getBody()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.