Mailroom.IMAP.connect

You're seeing just the function connect, go back to Mailroom.IMAP module for more information.
Link to this function

connect(server, username, password, options \\ [])

View Source

Connect to the IMAP server

The following options are available:

  • ssl - default false, connect via SSL or not
  • port - default 110 (995 if SSL), the port to connect to
  • timeout - default 15_000, the timeout for connection and communication

Examples:

Mailroom.IMAP.connect("imap.server", "me", "secret", ssl: true)
{:ok, pid}