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