Class SmtpSendOptions<T>
- Namespace
- H.Extensions.Mail
- Assembly
- H.Extensions.Mail.dll
public class SmtpSendOptions<T> : IocOptionInstance<T>, INotifyPropertyChanged, IDisplayBindable, IIconable, IDable, IDescriptionable, ISettable, INameable, IOrderable, IGroupable, ILoadable, ISaveable, IDefaultable, IClearable, IOptions<T>, ISmtpSendOptions where T : class, new()
Type Parameters
T
- Inheritance
-
SmtpSendOptions<T>
- Implements
-
IOptions<T>
- Derived
- Inherited Members
- Extension Methods
Properties
EnableSsl
[Display(Name = "启用SSL")]
public bool EnableSsl { get; set; }
Property Value
Host
[Required]
[Display(Name = "服务器")]
public string Host { get; set; }
Property Value
IsBodyHtml
[Display(Name = "启用HTML格式")]
public bool IsBodyHtml { get; set; }
Property Value
Password
[Required]
[Display(Name = "授权码")]
public string Password { get; set; }
Property Value
Port
[Display(Name = "端口号")]
public int Port { get; set; }
Property Value
User
[Required]
[Display(Name = "外发账号")]
public string User { get; set; }