IM_IBM
IM_IBM

Reputation:

How can I send an email using a SMTP server using Windows Script?

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?

Upvotes: 2

Views: 801

Answers (1)

Kev
Kev

Reputation: 119826

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

Upvotes: 3

Related Questions