欢迎光临
我们一直在努力

cdonts发电子邮件例子_asp实例

建站超值云服务器,限时71元/月

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

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » cdonts发电子邮件例子_asp实例
分享到: 更多 (0)