Packages

Pop3 client to download email (including attachments) from the inbox. Decodes multipart content, quoted-printables, base64 and encoded-words. Uses an Erlang pop3 client with SSL support derived from the epop package.

Current section

Files

Jump to
pop3mail lib mix tasks run_pop3mail.ex
Raw

lib/mix/tasks/run_pop3mail.ex

defmodule Mix.Tasks.RunPop3mail do
use Mix.Task
@shortdoc "Retrieve email from a POP3 mailbox"
@moduledoc """
Retrieve email from a POP3 mailbox.
Examples:
* mix run_pop3mail --username=h.lorentz@gmail.com --max 100 --raw
* mix run_pop3mail --help
"""
def run(args) do
Pop3mail.cli(args)
end
end