|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.mail.Email
public class Email
Constructor Summary | |
---|---|
Email(java.lang.String to)
Note: By default the message has the "Precedence" header set to "bulk". |
|
Email(java.lang.String to,
java.lang.String cc,
java.lang.String bcc)
Note: By default the message has the "Precedence" header set to "bulk". |
Method Summary | |
---|---|
void |
addHeader(java.lang.String headerName,
java.lang.String headerValue)
|
boolean |
equals(java.lang.Object o)
Body is NOT included in comparing two Email objects |
java.lang.String |
getBcc()
|
java.lang.String |
getBody()
|
java.lang.String |
getCc()
|
java.lang.String |
getEncoding()
|
java.lang.String |
getFrom()
|
java.lang.String |
getFromName()
|
java.util.Map |
getHeaders()
|
java.lang.String |
getInReplyTo()
|
java.lang.String |
getMessageId()
|
java.lang.String |
getMimeType()
|
javax.mail.Multipart |
getMultipart()
|
java.lang.String |
getReplyTo()
|
java.lang.String |
getSubject()
|
java.lang.String |
getTo()
|
int |
hashCode()
Body is NOT included in calculating the hashCode for the object. |
protected void |
loadDefaultHeaders()
|
java.lang.String |
removeHeader(java.lang.String headerName)
|
Email |
setBcc(java.lang.String bcc)
|
Email |
setBody(java.lang.String body)
|
Email |
setCc(java.lang.String cc)
|
Email |
setEncoding(java.lang.String encoding)
|
Email |
setFrom(java.lang.String from)
|
Email |
setFromName(java.lang.String fromName)
|
Email |
setInReplyTo(java.lang.String inReplyTo)
|
void |
setMessageId(java.lang.String messageId)
|
Email |
setMimeType(java.lang.String mimeType)
|
Email |
setMultipart(javax.mail.Multipart multipart)
|
Email |
setReplyTo(java.lang.String replyTo)
|
Email |
setSubject(java.lang.String subject)
|
Email |
setTo(java.lang.String to)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Email(java.lang.String to)
removeHeader(java.lang.String)
to remove
to
- public Email(java.lang.String to, java.lang.String cc, java.lang.String bcc)
removeHeader(java.lang.String)
to remove
to
- Method Detail |
---|
protected void loadDefaultHeaders()
public Email setFrom(java.lang.String from)
public Email setFromName(java.lang.String fromName)
public Email setTo(java.lang.String to)
public Email setSubject(java.lang.String subject)
public Email setCc(java.lang.String cc)
public Email setBcc(java.lang.String bcc)
public Email setReplyTo(java.lang.String replyTo)
public Email setInReplyTo(java.lang.String inReplyTo)
public Email setBody(java.lang.String body)
public Email setMimeType(java.lang.String mimeType)
public Email setEncoding(java.lang.String encoding)
public Email setMultipart(javax.mail.Multipart multipart)
public java.lang.String getFrom()
public java.lang.String getFromName()
public java.lang.String getTo()
public java.lang.String getSubject()
public java.lang.String getCc()
public java.lang.String getBcc()
public java.lang.String getReplyTo()
public java.lang.String getInReplyTo()
public java.lang.String getBody()
public java.lang.String getMimeType()
public java.lang.String getEncoding()
public javax.mail.Multipart getMultipart()
public java.lang.String getMessageId()
public void setMessageId(java.lang.String messageId)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
-
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void addHeader(java.lang.String headerName, java.lang.String headerValue)
public java.lang.String removeHeader(java.lang.String headerName)
headerName
-
public java.util.Map getHeaders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |