Table of Contents

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
Derived
Inherited Members
Extension Methods

Properties

EnableSsl

[Display(Name = "启用SSL")]
public bool EnableSsl { get; set; }

Property Value

bool

Host

[Required]
[Display(Name = "服务器")]
public string Host { get; set; }

Property Value

string

IsBodyHtml

[Display(Name = "启用HTML格式")]
public bool IsBodyHtml { get; set; }

Property Value

bool

Password

[Required]
[Display(Name = "授权码")]
public string Password { get; set; }

Property Value

string

Port

[Display(Name = "端口号")]
public int Port { get; set; }

Property Value

int

User

[Required]
[Display(Name = "外发账号")]
public string User { get; set; }

Property Value

string