Package io.micronaut.email
Class Email
java.lang.Object
io.micronaut.email.Email
- All Implemented Interfaces:
Recipients
Representation of a transactional email.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Email.Builder
builder()
@Nullable List<Attachment>
@Nullable Collection<Contact>
getBcc()
@Nullable Body
getBody()
@Nullable Collection<Contact>
getCc()
@NonNull Contact
getFrom()
@Nullable Contact
@NonNull String
@Nullable Collection<Contact>
getTo()
-
Method Details
-
getFrom
-
getReplyTo
-
getTo
- Specified by:
getTo
in interfaceRecipients
- Returns:
- Email recipients.
-
getCc
- Specified by:
getCc
in interfaceRecipients
- Returns:
- Email carbon copy recipients.
-
getBcc
- Specified by:
getBcc
in interfaceRecipients
- Returns:
- Email blind carbon copy recipients.
-
getSubject
-
getAttachments
-
getBody
-
builder
- Returns:
- Builder
-