increase max sizes of email string fields

pull/8632/head
Alper Ebicoglu 5 years ago committed by GitHub
parent a26662bfec
commit 474f735099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,26 +11,26 @@ namespace Volo.Abp.SettingManagement
[Range(1, 65535)] [Range(1, 65535)]
public int SmtpPort { get; set; } public int SmtpPort { get; set; }
[MaxLength(128)] [MaxLength(1024)]
public string SmtpUserName { get; set; } public string SmtpUserName { get; set; }
[MaxLength(64)] [MaxLength(1024)]
[DataType(DataType.Password)] [DataType(DataType.Password)]
[DisableAuditing] [DisableAuditing]
public string SmtpPassword { get; set; } public string SmtpPassword { get; set; }
[MaxLength(256)] [MaxLength(1024)]
public string SmtpDomain { get; set; } public string SmtpDomain { get; set; }
public bool SmtpEnableSsl { get; set; } public bool SmtpEnableSsl { get; set; }
public bool SmtpUseDefaultCredentials { get; set; } public bool SmtpUseDefaultCredentials { get; set; }
[MaxLength(256)] [MaxLength(1024)]
[Required] [Required]
public string DefaultFromAddress { get; set; } public string DefaultFromAddress { get; set; }
[MaxLength(64)] [MaxLength(1024)]
[Required] [Required]
public string DefaultFromDisplayName { get; set; } public string DefaultFromDisplayName { get; set; }
} }

Loading…
Cancel
Save