@ExperimentalApi @InjectableComponent @ParametersAreNonnullByDefault public interface MailImageInliner
Modifier and Type | Interface and Description |
---|---|
static 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. |
Modifier and Type | Method and Description |
---|---|
MailImageInliner.InlinedEmailBody |
inlineImages(String html)
Tries to inline all the images specified by an IMG tag.
|
MailImageInliner.InlinedEmailBody |
inlineImages(String html,
Issue issue)
Tries to inline all the images specified by an IMG tag.
|
@Nonnull MailImageInliner.InlinedEmailBody inlineImages(String html)
inlineImages(String, Issue)
in order to inline attachments related to an issue.html
- HTML to change.MailImageInliner.InlinedEmailBody
to represent the new email body, fully inlined@Nonnull MailImageInliner.InlinedEmailBody inlineImages(String html, Issue issue)
Issue.getAttachments()
that are contained within the provided html.html
- HTML to change.issue
- Issue that is related to HTML that contains required attachmentsMailImageInliner.InlinedEmailBody
to represent the new email body, fully inlinedCopyright © 2002-2022 Atlassian. All Rights Reserved.