Class DefaultMessageComposer
java.lang.Object
io.micronaut.email.javamail.composer.DefaultMessageComposer
- All Implemented Interfaces:
MessageComposer
DefaultImplementation
of MessageComposer
.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Field Details
-
TYPE_TEXT_PLAIN_CHARSET_UTF_8
- See Also:
-
TYPE_TEXT_HTML_CHARSET_UTF_8
- See Also:
-
-
Constructor Details
-
DefaultMessageComposer
public DefaultMessageComposer()
-
-
Method Details
-
compose
@NonNull public @NonNull jakarta.mail.Message compose(@NonNull @NonNull Email email, @NonNull @NonNull jakarta.mail.Session session) throws jakarta.mail.MessagingException - Specified by:
compose
in interfaceMessageComposer
- Parameters:
email
- Emailsession
- Session Object- Returns:
- A Message
- Throws:
jakarta.mail.MessagingException
- when creating Message
-