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.Builderbuilder()@Nullable List<Attachment>@Nullable Collection<Contact>getBcc()@Nullable BodygetBody()@Nullable Collection<Contact>getCc()@NonNull ContactgetFrom()@Nullable Contact@NonNull String@Nullable Collection<Contact>getTo()
-
Method Details
-
getFrom
-
getReplyTo
-
getTo
- Specified by:
getToin interfaceRecipients- Returns:
- Email recipients.
-
getCc
- Specified by:
getCcin interfaceRecipients- Returns:
- Email carbon copy recipients.
-
getBcc
- Specified by:
getBccin interfaceRecipients- Returns:
- Email blind carbon copy recipients.
-
getSubject
-
getAttachments
-
getBody
-
builder
- Returns:
- Builder
-