Mailroom.IMAP.connect
You're seeing just the function
connect
, go back to Mailroom.IMAP module for more information.
Connect to the IMAP server
The following options are available:
ssl
- defaultfalse
, connect via SSL or notport
- default110
(995
if SSL), the port to connect totimeout
- default15_000
, the timeout for connection and communication
Examples:
Mailroom.IMAP.connect("imap.server", "me", "secret", ssl: true)
{:ok, pid}