<% Creating Cdonts set mymail = server.createobject("Cdonts.Newmail") 'To Email Address mymail.to = "toemail@todomainname.com" 'From Email Address mymail.from = "youremail@yourdomainname.com" 'Your Subject mymail.subject = "Hi" 'Your Message mymail.body = "Welcome to Codeasearch" mymail.send%>Note: Cdonts will work on iis server only not in pws.