mirror of
https://github.com/rancher/types.git
synced 2025-08-27 08:18:24 +00:00
Merge pull request #392 from zionwu/changeports
Change default smtp port to 587
This commit is contained in:
commit
c2b7ca86eb
@ -134,7 +134,7 @@ type Notification struct {
|
||||
|
||||
type SMTPConfig struct {
|
||||
Host string `json:"host,omitempty" norman:"required,type=dnsLabel"`
|
||||
Port int `json:"port,omitempty" norman:"required,min=1,max=65535,default=465"`
|
||||
Port int `json:"port,omitempty" norman:"required,min=1,max=65535,default=587"`
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Sender string `json:"sender,omitempty" norman:"required"`
|
||||
|
Loading…
Reference in New Issue
Block a user