Skip to content

chenwaichung/sendemailgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple email client based on gomail

Introduction

Most options are compatible with sendEmail[https://github.com/mogaal/sendemail]

Build and Usage

To build it, run:

    go build

Display usage, run:

./sendemailgo --help

Usage of ./sendemailgo:
  -f string
        from (sender) email address.
  -h    display the usage and exit.
  -help
        display the usage and exit.
  -m string
        message body.
  -p int
        the mail server port, default 25. (default 25)
  -s string
        the mail server address.
  -t string
        to email address(receiver).
  -tls
        enable the tls option.
  -u string
        message subject.
  -v    display the version and exit.
  -version
        display the version and exit.
  -xp string
        password for SMTP authentication.
  -xu string
        username for SMTP authentication.

Example

    ./sendemailgo -f example@example.com -s smtp.example.com -xu example@example.com -xp password -t receiver@example.com -u "Test" -m "Test mail" 

About

A simple email client based on gomail, like sendEmail

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages