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.webmail
    Modifier and Type
    Class
    Description
    (package private) class 
    Represents a draft email message with attachments and Bcc support.
    Fields in i2p.susi.webmail declared as Mail
    Modifier and Type
    Field
    Description
    final Mail
    MailCache.POP3Request.mail
    The message this request fetches.
    Fields in i2p.susi.webmail with type parameters of type Mail
    Modifier and Type
    Field
    Description
    private final Queue<Mail>
    PersistentMailCache.Loader._out
    Mails being written to the cache.
    private final Map<String,Mail>
    MailCache.mails
    The cached messages, by id.
    Methods in i2p.susi.webmail that return Mail
    Modifier and Type
    Method
    Description
    MailCache.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 Mail
    PersistentMailCache.load(File f, boolean isDrafts)
    This is for the initial load only.
    Methods in i2p.susi.webmail that return types with arguments of type Mail
    Modifier and Type
    Method
    Description
    PersistentMailCache.getMails(String folder)
    Fetch 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 Mail
    Modifier and Type
    Method
    Description
    protected int
    Sorters.DateSorter.compare(Mail a, Mail b)
    Compare two objects.
    protected int
    Sorters.SenderSorter.compare(Mail a, Mail b)
    Compare two objects.
    protected int
    Sorters.SizeSorter.compare(Mail a, Mail b)
    Compare two objects.
    protected abstract int
    Sorters.SorterBase.compare(Mail a, Mail b)
    Compare two mail objects.
    protected int
    Sorters.SubjectSorter.compare(Mail a, Mail b)
    Compare two objects.
    protected int
    Sorters.ToSorter.compare(Mail a, Mail b)
    Compare two objects.
    void
    PersistentMailCache.deleteMail(Mail mail)
    Delete both the full-message and the header-only file for this mail.
    private int
    Sorters.SorterBase.fallbackCompare(Mail a, Mail b)
    Date-based fallback comparator.
    boolean
    PersistentMailCache.getMail(Mail mail, boolean headerOnly)
    Fetch 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 boolean
    PersistentMailCache.locked_getMail(Mail mail, boolean headerOnly)
    Loads one cached mail, lock held.
    private boolean
    PersistentMailCache.locked_saveMail(Mail mail)
    Writes one mail to the cache, lock held.
    private void
    MailCache.movedTo(Mail mail)
    Moved a mail from another MailCache.
    private static String
    WebMail.renderDateCell(Mail mail, String jslink)
    Builds the HTML for the date cell of a mail row.
    private static String
    WebMail.renderMailRow(Mail mail, String b64UIDL, String loc, String jslink, boolean isSpamFolder, boolean showToColumn)
    Renders a single mail row for the mailbox list.
    boolean
    PersistentMailCache.saveMail(Mail mail)
    Write the mail to disk as a full message when it has a body, otherwise as a header-only file.
    static int
    Sorters.DateSorter.scompare(Mail a, Mail b)
    Use as fallback in other sorters.
    private static boolean
    WebMail.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 Mail
    Modifier
    Constructor
    Description
    POP3Request(Mail m, boolean hOnly, Buffer buffer)
    Creates a request for the message's headers or full body.