title: Send mail from a Windows script
body: <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>