Click or drag to resize
Smtp Class
Smtp Helper
Inheritance Hierarchy
SystemObject
  AdfSmtp

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public class Smtp : ISmtp

The Smtp type exposes the following members.

Constructors
  NameDescription
Public methodSmtp
初始一个新实例
Top
Methods
  NameDescription
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetSenderAddress
获取根据规则处理后的发送者地址
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Protected methodInitConfig
初始化配置
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodSend
发送邮件
Public methodStatic memberSendNoPorxy
无代理发送(暂不支持一个Message多域发送)
Public methodSetSenderRandom
设置发送者随机域
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberInstance
默认实例
Top
Properties
  NameDescription
Public propertyAccount
Account ,config:SmtpAccount
Public propertyEnabled
是否可用,config:SmtpEnabled
Public propertyHost
host, config:SmtpHost
Public propertyIsSenderRandom
发送者地址是否随机
Public propertyName
Sender Name ,config: SmtpName
Public propertyPassword
Password, config:SmtpPassword
Public propertyPort
port, config:SmtpPort
Public propertySender
Sender, config:SmtpSender
Public propertySenderRandomDomain
发送者地址随机域名,config:SmtpSenderRandomDomain
Top
Remarks
Smtp配置, 可配置于应用配置或GlobalConfig, 应用配置优先于GlobalConfig
See Also

Reference