public class

MailImageInlinerImpl

extends Object
implements MailImageInliner
java.lang.Object
   ↳ com.atlassian.jira.mail.MailImageInlinerImpl

Summary

Public Constructors
MailImageInlinerImpl(ApplicationProperties applicationProperties, AvatarService avatarService, AvatarTranscoder avatarTranscoder, UserManager userManager, AvatarManager avatarManager)
Public Methods
@Nonnull MailImageInliner.InlinedEmailBody inlineImages(String html)
Tries to inline all the images specified by an IMG tag.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.mail.MailImageInliner

Public Constructors

public MailImageInlinerImpl (ApplicationProperties applicationProperties, AvatarService avatarService, AvatarTranscoder avatarTranscoder, UserManager userManager, AvatarManager avatarManager)

Public Methods

@Nonnull public MailImageInliner.InlinedEmailBody inlineImages (String html)

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.

Parameters
html HTML to change.
Returns