Uses of Class
org.craftercms.commons.mail.EmailException
-
Packages that use EmailException Package Description org.craftercms.commons.mail org.craftercms.commons.mail.impl -
-
Uses of EmailException in org.craftercms.commons.mail
Subclasses of EmailException in org.craftercms.commons.mail Modifier and Type Class 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.Methods in org.craftercms.commons.mail that throw EmailException Modifier and Type Method Description Email
EmailFactory. getEmail(String from, String[] to, String[] cc, String[] bcc, String subject, String body, boolean html, File... attachments)
Creates a newEmail
.Email
EmailFactory. getEmail(String from, String[] to, String[] cc, String[] bcc, String subject, String templateName, Object templateModel, boolean html, File... attachments)
Creates a newEmail
.Email
EmailFactory. getEmail(String from, String[] to, String[] cc, String[] bcc, String replyTo, String subject, String body, boolean html, File... attachments)
Creates a newEmail
.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 newEmail
.void
Email. send()
Sends the email. -
Uses of EmailException in org.craftercms.commons.mail.impl
Methods in org.craftercms.commons.mail.impl that throw EmailException Modifier and Type Method 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()
-