Here is a sample script to send SMTP mail via Port using CDOSYS with Basic Authentication. 1: 'Sending SMTP Mail by Port 25 Using CDOSYS with Basic Authentication 2: 'Refer the following article for sending mail with out using authentication : http://msdn.microsoft.com/en-us/library/ms992546(EXCHG.65).aspx