HTML5先行者高级交流群

欢迎加入学习讨论
专注前端,专注网页设计制作及网站开发项目 - (低价承接网站开发项目) QQ:370158739加入收藏RSS
CDONTS发电子邮件例子_ASP教程_编程技术
2013-12-20 09:10:46
[小 大]
已经帮助:人解决问题
Click here to copy the Code to your clipboard (Only for IE Users)
'Declare Variables
Dim CDONTSObj, MessageBody
'Create the CDONTS object
Set CDONTSObj = Server.CreateObject("CDONTS.NewMail")
'To Address
CDONTSObj.To = "info@scriptmate.com"
'From Address
CDONTSObj.From = "you@yoursite.com"
'CC Email Addresses seperated by a comma
CDONTSObj.cc = "support@scriptmate.com,amit@millioncolors.com"
'Your Email Message
MessageBody = "Sending a email using ASP was never so easy ! "
'Subject of the Email Message
CDONTSObj.Subject = "Send a Email"
'Assigning the value of your message to the Object
CDONTSObj.Body = MessageBody
'Send the email
CDONTSObj.Send
'Set the CDONTS object to nothing
Set CDONTSObj = nothing
5SjHTML5中文学习网 - HTML5先行者学习网5SjHTML5中文学习网 - HTML5先行者学习网
(责任编辑:)