Class GmailStore

  • All Implemented Interfaces:
    ResponseHandler, QuotaAwareStore, java.lang.AutoCloseable
    Direct Known Subclasses:
    GmailSSLStore

    public class GmailStore
    extends IMAPStore
    A Gmail Store. Defaults to imap.gmail.com with SSL. Uses a GmailProtocol and Gmail Folder to support Gmail extensions.
    Since:
    JavaMail 1.4.6
    Author:
    Bill Shannon
    • Constructor Detail

      • GmailStore

        public GmailStore​(Session session,
                          URLName url)
        Constructor that takes a Session object and a URLName that represents a specific IMAP server.
        Parameters:
        session - the Session
        url - the URLName of this store
      • GmailStore

        protected GmailStore​(Session session,
                             URLName url,
                             java.lang.String name,
                             boolean isSSL)
        Constructor used by GmailSSLStore subclass.
        Parameters:
        session - the Session
        url - the URLName of this store
        name - the protocol name
        isSSL - use SSL to connect?