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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user