/import-mail

This command line imports .eml files into IMAP account.

Primary LanguageGoMIT LicenseMIT

import-mail

This command line tool imports .eml files into INBOX of IMAP account.

GitHub go.mod Go version Build GitHub license

Install

> go get github.com/gonejack/import-mail

Usage

> import-mail --host imap.example.com --username username --password password *.eml
Flags:
  -h, --help                  Show context-sensitive help.
      --host=STRING           Set IMAP host.
      --port=993              Set IMAP port.
      --username=STRING       Set IMAP username.
      --password=STRING       Set IMAP password.
      --remote-dir="INBOX"    Set IMAP directory.
      --size-limit="20M"      Set size limit, mail exceed this limit will be skipped.
      --about                 Show about.