mirror of
https://github.com/rancher/types.git
synced 2025-09-01 05:09:10 +00:00
Merge pull request #392 from zionwu/changeports
Change default smtp port to 587
This commit is contained in:
@@ -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"`
|
||||
|
Reference in New Issue
Block a user