Class IMAPMail


  • public final class IMAPMail
    extends java.lang.Object
    This is an example program demonstrating how to use the IMAP[S]Client class. This program connects to a IMAP[S] server, lists its capabilities and shows the status of the Inbox.

    Usage: IMAPMail imap[s]://user:password@server/

    For example
    IMAPMail imaps://user:password@imap.mail.yahoo.com/
    or
    IMAPMail imaps://user:password@imap.googlemail.com/

    • Constructor Summary

      Constructors 
      Constructor Description
      IMAPMail()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IMAPMail

        public IMAPMail()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException