public class Email extends Object implements Serializable
Constructor and Description |
---|
Email(@NotNull EmailPopulatingBuilder builder)
Simply transfers everything from
EmailPopulatingBuilder to this Email instance. |
public Email(@NotNull @NotNull EmailPopulatingBuilder builder)
EmailPopulatingBuilder
to this Email instance.EmailPopulatingBuilder.buildEmail()
@Deprecated public void internalSetId(@NotNull @NotNull String id)
EmailPopulatingBuilder.fixingMessageId(String)
instead. This method is used internally to
update the message id once a mail has been sent.@Deprecated public boolean wasMergedWithSmimeSignedMessage()
@Nullable public @Nullable String getId()
@Nullable public @Nullable Recipient getFromRecipient()
EmailPopulatingBuilder.from(Recipient)
@Nullable public @Nullable Recipient getReplyToRecipient()
@Nullable public @Nullable Recipient getBounceToRecipient()
@Nullable public @Nullable String getSubject()
public boolean isUseDispositionNotificationTo()
@Nullable public @Nullable Recipient getDispositionNotificationTo()
public boolean isUseReturnReceiptTo()
@Nullable public @Nullable Recipient getReturnReceiptTo()
@Nullable public @Nullable jakarta.mail.internet.MimeMessage getEmailToForward()
@Nullable public @Nullable String getPlainText()
@Nullable public @Nullable String getHTMLText()
@Nullable public @Nullable CalendarMethod getCalendarMethod()
@Nullable public @Nullable String getCalendarText()
@NotNull public @NotNull List<AttachmentResource> getAttachments()
@NotNull public @NotNull List<AttachmentResource> getDecryptedAttachments()
@NotNull public @NotNull List<AttachmentResource> getEmbeddedImages()
@NotNull public @NotNull Map<String,Collection<String>> getHeaders()
@Nullable public @Nullable byte[] getDkimPrivateKeyData()
@Nullable public @Nullable String getDkimSigningDomain()
@Nullable public @Nullable String getDkimSelector()
@Nullable public @Nullable X509Certificate getX509CertificateForSmimeEncryption()
@Nullable public @Nullable Pkcs12Config getPkcs12ConfigForSmimeSigning()
@Nullable public @Nullable Email getSmimeSignedEmail()
@NotNull public @NotNull OriginalSmimeDetails getOriginalSmimeDetails()
@Nullable public @Nullable Date getSentDate()
@NotNull public @NotNull ContentTransferEncoding getContentTransferEncoding()
Copyright © 2009–2022. All rights reserved.