| Package | Description |
|---|---|
| org.simplejavamail.api.email |
| Modifier and Type | Method and Description |
|---|---|
static ContentTransferEncoding |
ContentTransferEncoding.byEncoder(@NotNull String encoder) |
@Nullable ContentTransferEncoding |
EmailPopulatingBuilder.getContentTransferEncoding() |
@Nullable ContentTransferEncoding |
AttachmentResource.getContentTransferEncoding() |
@Nullable ContentTransferEncoding |
Email.getContentTransferEncoding() |
static ContentTransferEncoding |
ContentTransferEncoding.getDefault() |
static ContentTransferEncoding |
ContentTransferEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentTransferEncoding[] |
ContentTransferEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
EmailPopulatingBuilder |
EmailPopulatingBuilder.withAttachment(@Nullable String name,
byte[] data,
@NotNull String mimetype,
@Nullable String description,
@Nullable ContentTransferEncoding contentTransferEncoding)
Delegates to
EmailPopulatingBuilder.withAttachment(String, DataSource), with a named ByteArrayDataSource created using the provided name, data and mimetype. |
EmailPopulatingBuilder |
EmailPopulatingBuilder.withAttachment(@Nullable String name,
@NotNull jakarta.activation.DataSource filedata,
@Nullable String description,
@Nullable ContentTransferEncoding contentTransferEncoding)
Adds an attachment to the email message, which will be shown in the email client as seperate files available for download or inline display if the client supports it (for example, most browsers
these days display PDF's in a popup).
|
EmailPopulatingBuilder |
EmailPopulatingBuilder.withContentTransferEncoding(@NotNull ContentTransferEncoding contentTransferEncoding)
Determines what encoding is applied to the text/html/iCalendar encoding in the MimeMessage/EML.
|
| Constructor and Description |
|---|
AttachmentResource(@Nullable String name,
@NotNull jakarta.activation.DataSource dataSource,
@Nullable String description,
@Nullable ContentTransferEncoding contentTransferEncoding)
Constructor; initializes the attachment resource with a name and data.
|
Copyright © 2009–2024. All rights reserved.