com.atlassian.jira.mail
Class Email

java.lang.Object
  extended by com.atlassian.mail.Email
      extended by com.atlassian.jira.mail.Email

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


Field Summary
static java.lang.String 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.
 
Constructor Summary
Email(java.lang.String to)
          Constructor specifying only the recipient.
Email(java.lang.String to, java.lang.String cc, java.lang.String bcc)
          Constructor including cc and bcc addresses.
 
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, loadDefaultHeaders, removeHeader, setBcc, setBody, setCc, setEncoding, setFrom, setFromName, setInReplyTo, setMessageId, setMimeType, setMultipart, setReplyTo, setSubject, setTo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

HEADER_JIRA_FINGER_PRINT

public static final java.lang.String 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:
Constant Field Values
Constructor Detail

Email

public Email(java.lang.String to)
Constructor specifying only the recipient.

Parameters:
to - recipient.

Email

public Email(java.lang.String to,
             java.lang.String cc,
             java.lang.String bcc)
Constructor including cc and bcc addresses.

Parameters:
to - recipient.
cc - carbon copy recipient.
bcc - blind carbon copy recipient.


Copyright © 2002-2010 Atlassian. All Rights Reserved.