Package io.jmix.email
Interface EmailSender
- All Known Implementing Classes:
- EmailSenderImpl
public interface EmailSender
Adapter to javax.mail email sending API.
 
Should not be used from application code, use
Should not be used from application code, use
Emailer.- 
Method SummaryModifier and TypeMethodDescriptionvoidsendEmail(SendingMessage sendingMessage) Sends email with help ofJavaMailSender.
- 
Method Details- 
sendEmailSends email with help ofJavaMailSender. Message body and attachments' content must be loaded from file storage.
 UseEmailerinstead if you need email to be delivered reliably and stored to email history.- Throws:
- javax.mail.MessagingException- if delivery fails
 
 
-