<p>I would like to send mail from a script on a Windows Server 2003 Standard Edition. I think the server setup is pretty much out of the box.</p>

<p>The mail server is an Exchange one, and when you're on the internal network you can use plain old SMTP. I have done it from my machine with Perl, but unfortunately Perl is not available on the server.</p>

<p>Is there an easy way of doing this from a .bat-file or any other way that doesn't require installing some additional software?</p>

<p><code>Edit:</code><br>
Thanks for the quick replies. The "blat" thingie would probably work fine but with wscript I don't have to use a separate binary.</p>

<p>I didn't see PhiLho's post the first time I edited and selected an answer. No need for me to duplicate the code here.</p>

<p>Just save the script to a file, say sendmail.vbs, and then call it from the command prompt like so:<br>
<code>wscript sendmail.vbs</code></p>

I think that you'll have to install some ActiveX or other component what could be invoked from WScript, such as:
http://www.activexperts.com/ActivEmail/
and:
http://www.emailarchitect.net/webapp/SMTPCOM/developers/scripting.asp
Otherwise, you'll have to write the entire SMTP logic (if possible, not sure) in WScript all on your own.