Mailroom.POP3.connect

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

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

View Source

Connect to the POP3 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.POP3.connect("pop3.myserver", "me", "secret", ssl: true)
{:ok, %Mailroom.Socket{}}