public class ERMessage extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ERMessage.Delegate
Defines a delegate interface for receiving notifications
about email messages.
|
Constructor and Description |
---|
ERMessage() |
Modifier and Type | Method and Description |
---|---|
void |
_deliveryFailed(Throwable failure)
Called by ERMailSender
|
void |
_deliverySucceeded()
Called by ERMailSender
|
void |
_invalidRecipients(NSArray<String> invalidRecipientAddresses)
Called by ERMailSender
|
String |
allRecipientsAsString() |
String |
allRecipientsAsString(boolean includeBcc) |
String |
allRecipientsAsString(boolean includeBcc,
int maxAddresses) |
String |
contextString() |
javax.mail.internet.MimeMessage |
mimeMessage() |
javax.mail.Address[] |
recipients(javax.mail.Message.RecipientType recipientType)
|
String |
recipientsAsString(javax.mail.Message.RecipientType recipientType) |
String |
recipientsAsString(javax.mail.Message.RecipientType recipientType,
int maxAddresses) |
void |
setContextString(String contextString) |
void |
setDelegate(ERMessage.Delegate delegate) |
void |
setDeleteFlag() |
void |
setMimeMessage(javax.mail.internet.MimeMessage m) |
void |
setUserInfo(NSDictionary<String,Object> userInfo) |
boolean |
shouldSendMessage() |
String |
toString() |
NSDictionary<String,Object> |
userInfo() |
public void setDelegate(ERMessage.Delegate delegate)
public void setUserInfo(NSDictionary<String,Object> userInfo)
public NSDictionary<String,Object> userInfo()
public void setContextString(String contextString)
public String contextString()
public void setMimeMessage(javax.mail.internet.MimeMessage m)
public javax.mail.internet.MimeMessage mimeMessage()
public boolean shouldSendMessage()
public javax.mail.Address[] recipients(javax.mail.Message.RecipientType recipientType) throws javax.mail.MessagingException
recipientType
- which can be: Message.RecipientType.To
, Message.RecipientType.CC
, or
Message.RecipientType.BCC
recipientType
- Message.RecipientType.To
、 Message.RecipientType.CC
又は
Message.RecipientType.BCC
の中の一つ
javax.mail.MessagingException
public String recipientsAsString(javax.mail.Message.RecipientType recipientType) throws javax.mail.MessagingException, javax.mail.internet.AddressException
javax.mail.MessagingException
javax.mail.internet.AddressException
public String recipientsAsString(javax.mail.Message.RecipientType recipientType, int maxAddresses) throws javax.mail.MessagingException, javax.mail.internet.AddressException
javax.mail.MessagingException
javax.mail.internet.AddressException
public String allRecipientsAsString() throws javax.mail.MessagingException
javax.mail.MessagingException
public String allRecipientsAsString(boolean includeBcc) throws javax.mail.MessagingException
javax.mail.MessagingException
public String allRecipientsAsString(boolean includeBcc, int maxAddresses) throws javax.mail.MessagingException
javax.mail.MessagingException
public void _deliverySucceeded()
public void _invalidRecipients(NSArray<String> invalidRecipientAddresses)
public void _deliveryFailed(Throwable failure)
public void setDeleteFlag() throws javax.mail.MessagingException
javax.mail.MessagingException
Copyright © 2002 – 2020 Project Wonder.