Uses of Class
org.apache.commons.mail2.jakarta.MultiPartEmail
Package
Description
Commons-Email aims to provide a API for sending email.
-
Uses of MultiPartEmail in org.apache.commons.mail2.jakarta
Modifier and TypeClassDescriptionclass
An HTML multipart email.class
Small wrapper class on top of HtmlEmail which encapsulates the required logic to retrieve images that are contained in "<img src=../>" elements in the HTML code.Modifier and TypeMethodDescriptionAttaches a file specified as a DataSource interface.MultiPartEmail.attach
(jakarta.activation.DataSource dataSource, String name, String description, String disposition) Attaches a file specified as a DataSource interface.Attaches a file.Attaches a file located by its URL.Attaches a file located by its URL.MultiPartEmail.attach
(Path file, OpenOption... options) Attaches a path.MultiPartEmail.attach
(EmailAttachment attachment) Attaches an EmailAttachment.