Package i2p.susi.webmail
Class Draft
- java.lang.Object
-
- i2p.susi.webmail.Mail
-
- i2p.susi.webmail.Draft
-
class Draft extends Mail
Holds a draft message and reference to attachments, if any Differences from Mail: - Never multipart, body is always text/plain UTF-8 - Attachments are just headers containing name, type, encoding, and path to file - Bcc is a header- Since:
- 0.9.35
-
-
Field Summary
Fields Modifier and Type Field Description static StringHDR_BCC-
Fields inherited from class i2p.susi.webmail.Mail
cc, contentType, date, dateString, error, formattedDate, HEADER_MATCH, localFormattedDate, markForDeletion, messageID, quotedDate, reply, sender, shortSender, shortSubject, subject, to, uidl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddAttachment(Attachment a)voidclearAttachments()StringBuilderencodeAttachments()List<Attachment>getAttachments()String[]getBcc
-