Packages that use Mail
Package
Description
The SusiMail webapp (mail.war): webmail interface with POP3 and SMTP clients over I2P and local caching.
Uses of Mail in i2p.susi.webmail
Subclasses of Mail in i2p.susi.webmailModifier and TypeClassDescription(package private) classRepresents a draft email message with attachments and Bcc support.Fields in i2p.susi.webmail declared as MailModifier and TypeFieldDescriptionfinal MailMailCache.POP3Request.mailThe message this request fetches.Fields in i2p.susi.webmail with type parameters of type MailModifier and TypeFieldDescriptionPersistentMailCache.Loader._outMails being written to the cache.MailCache.mailsThe cached messages, by id.Methods in i2p.susi.webmail that return MailModifier and TypeMethodDescriptionMailCache.getMail(String uidl, MailCache.FetchMode mode) Fetch any needed data from pop3 server, unless mode is CACHE_ONLY or HEADER_CACHE_ONLY, or this isn't the Inbox.private static MailThis is for the initial load only.Methods in i2p.susi.webmail that return types with arguments of type MailModifier and TypeMethodDescriptionFetch all mails from disk, naming the folder in the completion log so a reader can tell which mailbox the counts belong to.private Collection<Mail> PersistentMailCache.locked_getMails(String folder) Lists the cached mails, lock held.Methods in i2p.susi.webmail with parameters of type MailModifier and TypeMethodDescriptionprotected intCompare two objects.protected intCompare two objects.protected intCompare two objects.protected abstract intCompare two mail objects.protected intCompare two objects.protected intCompare two objects.voidPersistentMailCache.deleteMail(Mail mail) Delete both the full-message and the header-only file for this mail.private intSorters.SorterBase.fallbackCompare(Mail a, Mail b) Date-based fallback comparator.booleanFetch any needed data from disk, filling in the header, or the body if that is what was asked for and only a header file is on disk.private booleanPersistentMailCache.locked_getMail(Mail mail, boolean headerOnly) Loads one cached mail, lock held.private booleanPersistentMailCache.locked_saveMail(Mail mail) Writes one mail to the cache, lock held.private voidMoved a mail from another MailCache.private static StringWebMail.renderDateCell(Mail mail, String jslink) Builds the HTML for the date cell of a mail row.private static StringWebMail.renderMailRow(Mail mail, String b64UIDL, String loc, String jslink, boolean isSpamFolder, boolean showToColumn) Renders a single mail row for the mailbox list.booleanWrite the mail to disk as a full message when it has a body, otherwise as a header-only file.static intUse as fallback in other sorters.private static booleanWebMail.sendMailSaveAs(WebMail.SessionObject sessionObject, Mail mail, HttpServletResponse response) Send the mail to be saved by the browser.Constructors in i2p.susi.webmail with parameters of type MailModifierConstructorDescriptionPOP3Request(Mail m, boolean hOnly, Buffer buffer) Creates a request for the message's headers or full body.