CDONTS发电子邮件例子 |
| 作者:佚名 来源:不详 更新:2006-8-25 21:05:35 错误报告 我要投稿 |
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
|
|
| 文章录入:skyuu 责任编辑:skyuu |
|
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |