Sending a Email Using CDONTS Header

Sending a Email Using CDONTS

  [Call : 201-377-9031 (US) 0207-096-0627 (UK)]          About Us : Support : Contact  : Site Map 
    Home | Products | Hosting | Services | Resources | FAQ
HomeSending a Email Using CDONTSResourcesSending a Email Using CDONTS
Home Products Hosting Services Resources FAQ
Resources

Sending a Email Using CDONTS
Posted by : Amit Agarwal Total Hits : 26085

You can send email using ASP with Cdonts. It is the easiest way to send email using ASP and the best part is Cdonts comes with IIS.


  
Get the Source Code.
'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

 
Source Code






Countries where our products are used.


 Copyright © 2006 ScriptMate. Sending a Email Using CDONTS 
Password Protection :: Church Membership Software :: Membership Management Software
Membership Software :: User Management :: Classified Ads Software :: FAQ Management Software :: Free VBScript Resource
Bunk Beds :: Cribs :: Cradles Kids Furniture :: New Born Baby Furniture :: Baby Furniture