1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

Try #1 Sending mails though linux mail command - Untested: https://github.com/kataras/iris/issues/166

This commit is contained in:
Makis Maropoulos
2016-06-02 23:22:48 +03:00
parent 126a2b2f7c
commit b58c16113a
2 changed files with 29 additions and 11 deletions

View File

@@ -10,6 +10,11 @@ type Mail struct {
Username string
// Password is the auth password for the sender
Password string
// UseCommand enable it if you want to send e-mail with the mail command instead of smtp
//
// Host,Port & Password will be ignored
// ONLY FOR UNIX
UseCommand bool
}
// DefaultMail returns the default configs for Mail