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 Summary
Modifier and TypeMethodDescriptionvoid
sendEmail
(SendingMessage sendingMessage) Sends email with help ofJavaMailSender
.
-
Method Details
-
sendEmail
Sends email with help ofJavaMailSender
. Message body and attachments' content must be loaded from file storage.
UseEmailer
instead if you need email to be delivered reliably and stored to email history.- Throws:
jakarta.mail.MessagingException
- if delivery fails
-