当前位置:主页 > 综合资讯 >

CDONTS发电子邮件代码

发布时间:19-12-06 阅读:219

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

技巧交流 永无止境



上一篇:震撼!2019连州国际摄影年展盛大开幕
下一篇:没有了