class Draft extends Mail
Modifier and Type | Field and Description |
---|---|
static String |
HDR_BCC |
cc, contentType, date, dateString, error, formattedDate, HEADER_MATCH, localFormattedDate, markForDeletion, messageID, quotedDate, reply, sender, shortSender, shortSubject, subject, to, uidl
Modifier and Type | Method and Description |
---|---|
int |
addAttachment(Attachment a) |
void |
clearAttachments() |
StringBuilder |
encodeAttachments() |
List<Attachment> |
getAttachments() |
String[] |
getBcc() |
boolean |
hasAttachment() |
void |
removeAttachment(int index) |
void |
setBody(Buffer rb)
Overridden to process attachment and Bcc headers
|
appendRecipients, appendRecipients, getAddress, getBody, getHeader, getPart, getRecipientsFromList, getRecipientsFromList, getSize, hasBody, hasHeader, hasPart, isNew, isSpam, setHeader, setNew, setSize, validateAddress
public static final String HDR_BCC
public Draft(String uidl)
public void setBody(Buffer rb)
public boolean hasAttachment()
hasAttachment
in class Mail
public String[] getBcc()
public List<Attachment> getAttachments()
public int addAttachment(Attachment a)
public void removeAttachment(int index)
public void clearAttachments()
public StringBuilder encodeAttachments()