1
0
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:
Alena Prokharchyk 2018-04-24 10:31:40 -07:00 committed by GitHub
commit c2b7ca86eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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