@Deprecated public class NotificationEmailHelper extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
NotificationEmailHelper.ContentFinder
Deprecated.
Finder for content ids.
|
Constructor and Description |
---|
NotificationEmailHelper(com.atlassian.mail.server.MailServerManager mailServerManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
extractTargetContentFromEmailReply(Map<String,List<String>> headers,
NotificationEmailHelper.ContentFinder contentFinder)
Deprecated.
Retrieves the relevant content object from the given (reply) email headers.
|
static NotificationEmailHelper |
newNotificationEmailHelper()
Deprecated.
since 5.8. Use
NotificationEmailHelper(com.atlassian.mail.server.MailServerManager) instead. |
void |
populateTrackingHeaders(com.atlassian.mail.Email mail,
Long contentId)
Deprecated.
Adds a message id and reply address derived from the given content id
|
public NotificationEmailHelper(com.atlassian.mail.server.MailServerManager mailServerManager)
public ContentEntityObject extractTargetContentFromEmailReply(Map<String,List<String>> headers, NotificationEmailHelper.ContentFinder contentFinder)
headers
- the headers from an email replycontentFinder
- function to resolve ContentEntityObject
s from a content id.ContentEntityObject
resolved.public void populateTrackingHeaders(com.atlassian.mail.Email mail, Long contentId)
mail
- the mail to modifycontentId
- the content id@Deprecated public static NotificationEmailHelper newNotificationEmailHelper()
NotificationEmailHelper(com.atlassian.mail.server.MailServerManager)
instead.Copyright © 2003–2023 Atlassian. All rights reserved.