SmtpSend
SmtpSend class
SendAsync方法参数集.
public class SmtpSend
方法
| 姓名 | 描述 |
|---|---|
| static Create() | 创建SmtpSend. |
| AddMessage(MailMessage) | 添加要发送的消息。 |
| AddMessage(string, string, string, string) | 添加要发送的消息。 |
| AddMessages(IEnumerable<MailMessage>) | 添加要发送的消息。 |
| SetCancellationToken(CancellationToken) | 设置取消令牌(可选)。 |
| SetConnection(IConnection) | 连接到服务器(可选)。 |