com.atlassian.jira.mail.MailImageInliner |
Known Indirect Subclasses
|
This interface is considered usable by external developers but its contracts have not stabilized.
Experimental APIs may be changed at any time before being marked
@Internal
or
@PublicApi
.
Class Overview
A component to use when required to construct an email body from HTML that may contain inlined images.
Summary
Nested Classes |
class |
MailImageInliner.InlinedEmailBody |
A small wrapper that contains the HTML string after it has had images inlined, as well as the BodyPart's that represent the inlined image attachments, to use when constructing an email body. |
Public Methods
Tries to inline all the images specified by an IMG tag. Replaces the image url with the cid link or unchanged
path if specified path cannot be added as attachment. Will then build the related body parts for the attachments.