Simple cli utility that connects to a local smtp server to easily send email. Currenly does no authentification, and intended use is for sending type admin emails via local private smtp servers.
$ ezsmtp -m "testing" -t user@example.org -f sysadm@example.org -cc admin@other.org
$ echo testing | ezsmtp -t user@example.org -s "testing email" -h smtp.server.local
Usage
Usage of ./ezsmtp:
-cc Email
Email CC to Receipients`
-f Sender
Sender email (default "ezsmtp@localhost")
-h smtp
smtp server (default "localhost")
-m Message
Message Body
-p smtp port
smtp port port (default "25")
-s Subject
Mail Subject (default "(No Subject)")
-t Email
Email Receipient`
Building
$ git clone https://github.com/ktpx/ezsmtp.git
$ cd ezsmtp
$ go build ezsmtp.go