public class EMail2FaxJamesMailet
extends org.apache.mailet.base.GenericMailet
Modifier and Type | Field and Description |
---|---|
protected org.fax4j.bridge.FaxBridgeFlowHelper<javax.mail.Message> |
flowHelper
The flow helper
|
Constructor and Description |
---|
EMail2FaxJamesMailet()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.fax4j.bridge.ContextFaxBridge<javax.mail.Message> |
createFaxBridge()
Returns a new fax bridge.
|
protected String |
getFaxClientSpiType()
Returns the type of SPI to use.
|
void |
init()
This function initializes the mailet.
|
protected void |
postSubmitFaxJob(org.apache.mailet.Mail mail,
org.fax4j.FaxJob faxJob)
This function is invoked after the fax is submitted.
|
void |
service(org.apache.mailet.Mail mail)
This function
|
protected org.fax4j.bridge.FaxBridgeFlowHelper<javax.mail.Message> flowHelper
public EMail2FaxJamesMailet()
public void init() throws javax.mail.MessagingException
init
in class org.apache.mailet.base.GenericMailet
javax.mail.MessagingException
- Any error while initializationprotected String getFaxClientSpiType()
protected org.fax4j.bridge.ContextFaxBridge<javax.mail.Message> createFaxBridge()
protected void postSubmitFaxJob(org.apache.mailet.Mail mail, org.fax4j.FaxJob faxJob)
mail
- The mail with the fax datafaxJob
- The submitted fax jobpublic void service(org.apache.mailet.Mail mail) throws javax.mail.MessagingException
service
in interface org.apache.mailet.Mailet
service
in class org.apache.mailet.base.GenericMailet
mail
- The mail with the fax datajavax.mail.MessagingException
- Any exception while handling the mail messageCopyright © 2013–2017 fax4j-x2fax. All rights reserved.