Allow explicitly defined smtp auth mechansim

This commit is contained in:
ViViDboarder
2019-08-23 16:22:14 -07:00
parent 026f9da035
commit 2d2745195e
3 changed files with 15 additions and 0 deletions

View File

@@ -345,6 +345,8 @@ make_config! {
smtp_username: String, true, option;
/// Password
smtp_password: Pass, true, option;
/// Json form auth mechanism |> Defaults for ssl is "Plain" and "Login" and nothing for non-ssl connections. Possible values: ["Plain", "Login", "Xoauth2"]
smtp_auth_mechanism: String, true, option;
},
}