Send Mail Using CDO for Windows – Script example for CDO

On Windows server, you can send mail using CDO. CDO allows to send email using SMTP authentication as well as without SMTP authentication. Here is the sample code to send email using SMTP authentication using CDO:

You will have to update SMTP server, SMTP username and password in the above sample script.