Uses of Class
org.craftercms.commons.mail.EmailException
Packages that use EmailException
-
Uses of EmailException in org.craftercms.commons.mail
Subclasses of EmailException in org.craftercms.commons.mailModifier and TypeClassDescriptionclass
Thrown when an email address in wrong format is encountered.class
Thrown when an email message couldn't be prepared properly.class
Thrown when an email couldn't be sent for some reason.Methods in org.craftercms.commons.mail that throw EmailExceptionModifier and TypeMethodDescriptionEmailFactory.getEmail
(String from, String[] to, String[] cc, String[] bcc, String subject, String body, boolean html, File... attachments) Creates a newEmail
.EmailFactory.getEmail
(String from, String[] to, String[] cc, String[] bcc, String subject, String templateName, Object templateModel, boolean html, File... attachments) Creates a newEmail
.EmailFactory.getEmail
(String from, String[] to, String[] cc, String[] bcc, String replyTo, String subject, String body, boolean html, File... attachments) Creates a newEmail
.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 EmailExceptionModifier and TypeMethodDescriptionprotected jakarta.mail.internet.MimeMessage
EmailFactoryImpl.createMessage
(String from, String[] to, String[] cc, String[] bcc, String replyTo, String subject, String body, boolean html, File... attachments) EmailFactoryImpl.getEmail
(String from, String[] to, String[] cc, String[] bcc, String subject, String body, boolean html, File... attachments) EmailFactoryImpl.getEmail
(String from, String[] to, String[] cc, String[] bcc, String subject, String templateName, Object templateModel, boolean html, File... attachments) EmailFactoryImpl.getEmail
(String from, String[] to, String[] cc, String[] bcc, String replyTo, String subject, String body, boolean html, File... attachments) 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()