/html-to-email

This command line converts .html file to .eml file.

Primary LanguageGoMIT LicenseMIT

html-to-email

This command line converts .html file to .eml file.

For embed remote images into .eml file there is embed-email

GitHub go.mod Go version Build GitHub license

Install

> go get github.com/gonejack/html-to-email

Usage

> html-to-email *.html
> html-to-email -f sender@xx.com -t receiver@xx.com *.html
Flags:
  -h, --help           Show context-sensitive help.
  -f, --from=STRING    Set From field.
  -t, --to=STRING      Set To field.
  -v, --verbose        Verbose printing.
      --about          About.