| Package | Description |
|---|---|
| org.craftercms.commons.mail | |
| org.craftercms.commons.mail.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
EmailAddressException
Thrown when an email address in wrong format is encountered.
|
class |
EmailPreparationException
Thrown when an email message couldn't be prepared properly.
|
class |
EmailSendException
Thrown when an email couldn't be sent for some reason.
|
| Modifier and Type | Method and Description |
|---|---|
Email |
EmailFactory.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String subject,
String body,
boolean html,
File... attachments)
Creates a new
Email. |
Email |
EmailFactory.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String subject,
String templateName,
Object templateModel,
boolean html,
File... attachments)
Creates a new
Email. |
Email |
EmailFactory.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String replyTo,
String subject,
String body,
boolean html,
File... attachments)
Creates a new
Email. |
Email |
EmailFactory.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String replyTo,
String subject,
String templateName,
Object templateModel,
boolean html,
File... attachments)
Creates a new
Email. |
void |
Email.send()
Sends the email.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.mail.internet.MimeMessage |
EmailFactoryImpl.createMessage(String from,
String[] to,
String[] cc,
String[] bcc,
String replyTo,
String subject,
String body,
boolean html,
File... attachments) |
Email |
EmailFactoryImpl.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String subject,
String body,
boolean html,
File... attachments) |
Email |
EmailFactoryImpl.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String subject,
String templateName,
Object templateModel,
boolean html,
File... attachments) |
Email |
EmailFactoryImpl.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String replyTo,
String subject,
String body,
boolean html,
File... attachments) |
Email |
EmailFactoryImpl.getEmail(String from,
String[] to,
String[] cc,
String[] bcc,
String replyTo,
String subject,
String templateName,
Object templateModel,
boolean html,
File... attachments) |
protected String |
EmailFactoryImpl.processTemplate(String templateName,
Object templateModel) |
void |
EmailImpl.send() |
Copyright © 2018 CrafterCMS. All rights reserved.