CDONTS发电子邮件[代码]

2018-09-06 10:43

阅读:694

  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

From Address

CC Email Addresses seperated by a comma

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

技术交流永无止境


评论


亲,登录后才可以留言!