Class NotificationEmailHelper
- java.lang.Object
-
- com.atlassian.confluence.mail.notification.NotificationEmailHelper
-
@Deprecated public class NotificationEmailHelper extends Object
Deprecated.since 7.5.0Helper methods for generating and parsing message ids.- Since:
- 5.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotificationEmailHelper.ContentFinderDeprecated.Finder for content ids.
-
Constructor Summary
Constructors Constructor Description NotificationEmailHelper(com.atlassian.mail.server.MailServerManager mailServerManager)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContentEntityObjectextractTargetContentFromEmailReply(Map<String,List<String>> headers, NotificationEmailHelper.ContentFinder contentFinder)Deprecated.Retrieves the relevant content object from the given (reply) email headers.static NotificationEmailHelpernewNotificationEmailHelper()Deprecated.since 5.8.voidpopulateTrackingHeaders(com.atlassian.mail.Email mail, Long contentId)Deprecated.Adds a message id and reply address derived from the given content id
-
-
-
Method Detail
-
extractTargetContentFromEmailReply
public ContentEntityObject extractTargetContentFromEmailReply(Map<String,List<String>> headers, NotificationEmailHelper.ContentFinder contentFinder)
Deprecated.Retrieves the relevant content object from the given (reply) email headers.- Parameters:
headers- the headers from an email replycontentFinder- function to resolveContentEntityObjects from a content id.- Returns:
- the
ContentEntityObjectresolved. - Since:
- 5.8
-
populateTrackingHeaders
public void populateTrackingHeaders(com.atlassian.mail.Email mail, Long contentId)Deprecated.Adds a message id and reply address derived from the given content id- Parameters:
mail- the mail to modifycontentId- the content id- Since:
- 5.8
-
newNotificationEmailHelper
@Deprecated public static NotificationEmailHelper newNotificationEmailHelper()
Deprecated.since 5.8. UseNotificationEmailHelper(com.atlassian.mail.server.MailServerManager)instead.
-
-