Connect to a Mail Server

The Wolfram Language supports IMAP, which is a common and popular mail protocol used by many internet service providers. You may need to consult your email service provider for instructions on how to enable IMAP. Here the popular email service Gmail is used for example purposes.

The MailServerConnect function will display a dialog prompting for the connection credentials (server, username and password).

Get a list of the the mail folders in the account.

Open a particular folder by its name.

Check how far behind you are on your emails.

This number corresponds to the unread emails in the Gmail web interface.

Related Examples

ja zh