tags:

views:

230

answers:

1

I am new to Windows scripting. I saw the post on sending email on an Exchange server from WScript here, but my scenario is a little different.

We need to be able to send the mail using any SMTP server configured in any of our networks from the Windows Script. Can you please help?

  • IM_IBM
+3  A: 

The solution provided in the question you refer to will actually work with any SMTP server. Take a look at the following links which explain how to use CDOSYS:

ASP Sending e-mail with CDOSYS (W3Schools)

Sending SMTP Mail by Port 25 Using CDOSYS (MSDN)

Kev

Kev