Allows specify the sender used on SMTP conversation with outgoing server.

This commit is contained in:
Carlos Alberto Costa Beppler
2019-09-06 17:07:37 -03:00
parent 2c9645ac68
commit 0b65e904d8
2 changed files with 10 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ var (
remoteHost = flag.String("remote_host", "smtp.gmail.com:587", "Outgoing SMTP server")
remoteUser = flag.String("remote_user", "", "Username for authentication on outgoing SMTP server")
remotePass = flag.String("remote_pass", "", "Password for authentication on outgoing SMTP server")
remoteSender = flag.String("remote_sender", "", "Sender username for messages on outgoing SMTP server")
versionInfo = flag.Bool("version", false, "Show version information")
)