很简单哪。
Dim email As New System.Web.Mail.SmtpMail()
email.SmtpServer = "smtp.sina.com.cn"
email.Send("[email protected]", "[email protected]", "subject", "message")
最重要的就是SmtpServer。要求你必须有在上面发信的权限。
不过据说新浪的SMTP服务器不能用。我用的是自个儿的SMTP服务器。
Dim email As New System.Web.Mail.SmtpMail()
email.SmtpServer = "smtp.sina.com.cn"
email.Send("[email protected]", "[email protected]", "subject", "message")
最重要的就是SmtpServer。要求你必须有在上面发信的权限。
不过据说新浪的SMTP服务器不能用。我用的是自个儿的SMTP服务器。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货