1
0
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:
Alena Prokharchyk
2018-04-24 10:31:40 -07:00
committed by GitHub

View File

@@ -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"`