SoftMailSendMail 方法 (String, String, Boolean) |
发送邮件至地址,需要提前指定发送地址,否则失败
命名空间:
HslCommunication.BasicFramework
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public bool SendMail(
string subject,
string body,
bool isHtml
)
Public Function SendMail (
subject As String,
body As String,
isHtml As Boolean
) As Boolean
public:
bool SendMail(
String^ subject,
String^ body,
bool isHtml
)
member SendMail :
subject : string *
body : string *
isHtml : bool -> bool
参数
- subject
- 类型:SystemString
邮件主题 - body
- 类型:SystemString
邮件内容 - isHtml
- 类型:SystemBoolean
是否是html格式化文本
返回值
类型:
Boolean是否发送成功,内容不正确会被视为垃圾邮件
参见