Uses of Class
de.aristaflow.adept2.model.mail.SerialisableAttachment
-
Packages that use SerialisableAttachment Package Description de.aristaflow.adept2.base.mail de.aristaflow.adept2.model.mail -
-
Uses of SerialisableAttachment in de.aristaflow.adept2.base.mail
Method parameters in de.aristaflow.adept2.base.mail with type arguments of type SerialisableAttachment Modifier and Type Method Description static SerialisedEmail
EmailToolkit. sendMail(String from, String[] to, String[] cc, String[] bcc, String subject, String body, List<SerialisableAttachment> attachments, String hostname)
Deprecated.This method allows the usage of a host differing from the default host.static SerialisedEmail
EmailToolkit. sendMail(String from, String[] to, String[] cc, String[] bcc, String subject, String body, List<SerialisableAttachment> attachments, String hostname, int hostport, boolean useTLS, boolean useSSL, boolean overtrustful)
Deprecated.This method allows the usage of a host differing from the default host.static SerialisedEmail
EmailToolkit. sendMail(String from, String[] to, String[] cc, String[] bcc, String subject, String body, List<SerialisableAttachment> attachments, String hostname, int hostport, String username, String password, boolean useTLS, boolean useSSL, boolean overtrustful)
Deprecated.This method allows the usage of a host differing from the default host that also needs a username and a password.static SerialisedEmail
EmailToolkit. sendMail(String from, String[] to, String[] cc, String[] bcc, String subject, String body, List<SerialisableAttachment> attachments, String hostname, int hostport, String username, String password, boolean useTLS, boolean useSSL, boolean overtrustful, Map<String,String> addAttributes)
Deprecated.This method allows the usage of a host differing from the default host that also needs a username and a password. -
Uses of SerialisableAttachment in de.aristaflow.adept2.model.mail
Subclasses of SerialisableAttachment in de.aristaflow.adept2.model.mail Modifier and Type Class Description class
ByteArrayAttachment
ASerialisableAttachment
having plainbyte[]
content.class
DataSourceAttachment
ASerialisableAttachment
having a datasource as content.class
UDTAttachment
ASerialisableAttachment
having anUDTValue
as content.class
URLAttachment
ASerialisableAttachment
providing aURL
for the content.Fields in de.aristaflow.adept2.model.mail declared as SerialisableAttachment Modifier and Type Field Description protected SerialisableAttachment
SerialisableAttachmentDataSource. att
The wrapped serialisable attachment.Methods in de.aristaflow.adept2.model.mail that return types with arguments of type SerialisableAttachment Modifier and Type Method Description List<SerialisableAttachment>
Email. getAttachments()
Gets the files attached to the mail or an empty list.List<SerialisableAttachment>
Email. getImages()
Gets the images that are referenced within the (HTML) content of the mail and which are provided as attachment (instead of retrieving them from a server) or an empty list.Methods in de.aristaflow.adept2.model.mail with parameters of type SerialisableAttachment Modifier and Type Method Description Email
Email. attachment(SerialisableAttachment att)
Adds the designated attachment to this mail.Constructors in de.aristaflow.adept2.model.mail with parameters of type SerialisableAttachment Constructor Description SerialisableAttachmentDataSource(SerialisableAttachment att)
Creates a new wrapper for aSerialisableAttachment
.
-