public class CloudMailHandler extends Object implements MailHandler
MailHandler.Address, MailHandler.Factory, MailHandler.MailBoxStatus, MailHandler.MessageStatus| Modifier and Type | Field and Description |
|---|---|
protected List<org.mmbase.module.smtp.CloudMailHandler.MailBox> |
mailboxes
List containing Node objects for all mailboxes of the receipients
|
(package private) static Map<String,String> |
props |
| Constructor and Description |
|---|
CloudMailHandler() |
| Modifier and Type | Method and Description |
|---|---|
MailHandler.MailBoxStatus |
addMailbox(String user,
String domain)
This method returns a Node to which the email should be related.
|
void |
clearMailboxes() |
protected static int |
compareMimeTypes(String mt1,
String mt2) |
protected static Cloud |
getCloud() |
protected String |
getContent(javax.mail.Part p) |
protected static String |
getMimeType(String contentType) |
protected static Map<String,String> |
getProperties() |
MailHandler.MessageStatus |
handleMessage(javax.mail.Message message) |
protected void |
nodeSetHeader(Node node,
String fieldName,
javax.mail.Address[] values) |
protected void |
nodeSetHeader(Node node,
String fieldName,
String value) |
int |
size() |
protected final List<org.mmbase.module.smtp.CloudMailHandler.MailBox> mailboxes
protected static Cloud getCloud()
protected void nodeSetHeader(Node node, String fieldName, javax.mail.Address[] values)
protected static int compareMimeTypes(String mt1, String mt2)
public MailHandler.MessageStatus handleMessage(javax.mail.Message message)
handleMessage in interface MailHandlerpublic void clearMailboxes()
clearMailboxes in interface MailHandlerpublic int size()
size in interface MailHandlerpublic MailHandler.MailBoxStatus addMailbox(String user, String domain)
addMailbox in interface MailHandlerMMBase 1.9-SNAPSHOT - ${javadoctimestamp}