Package com.atlassian.jira.mail
Class Email
java.lang.Object
com.atlassian.mail.Email
com.atlassian.jira.mail.Email
- All Implemented Interfaces:
Serializable
public class Email
extends com.atlassian.mail.Email
This is a wrapper class around the Email class from atlassian-mail. Its purpose is to
ensure that the proper headers are present or absent as per JIRA configuration on construction.
e.g. Precedence Bulk and X-JIRA-FingerPrint
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
JIRA's custom mail header used to contain a magic fingerprint string "unique" to a JIRA instance, used for identification purposes. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.mail.Email
addHeader, equals, getBcc, getBody, getCc, getEncoding, getFrom, getFromName, getHeaders, getInReplyTo, getMessageId, getMimeType, getMultipart, getReplyTo, getSubject, getTo, hashCode, isExcludeSubjectPrefix, loadDefaultHeaders, removeHeader, setBcc, setBody, setCc, setEncoding, setExcludeSubjectPrefix, setFrom, setFromName, setInReplyTo, setMessageId, setMimeType, setMultipart, setReplyTo, setTo, toString
-
Field Details
-
HEADER_JIRA_FINGER_PRINT
JIRA's custom mail header used to contain a magic fingerprint string "unique" to a JIRA instance, used for identification purposes.- See Also:
-
-
Constructor Details
-
Email
Constructor specifying only the recipient.- Parameters:
to
- recipient.
-
Email
Constructor including cc and bcc addresses.- Parameters:
to
- recipient.cc
- carbon copy recipient.bcc
- blind carbon copy recipient.
-
-
Method Details
-
setSubject
- Overrides:
setSubject
in classcom.atlassian.mail.Email
-