Send Mail

by Daniel Petri - January 8, 2009


This command line utility sends SMTP mail through the specified SMTP server.

Version 1.2 allows you to specify a user and password for authenticating to the mail server. (For use with servers that do not allow relaying).

Note: It seems that this utility can only send lower-case text. It's possible that the author will release an updated version that fixes this minor issue in the future, but for now you must live with this limitation.

Requirements: Windows 2000/XP/2003

Current version: 1.2


Download (6kb)

You need to extract the tool/script found in the downloaded file by using WinZip or similar.



SendMail /smtpserver mailsrv01 /to /from /subject Message subject /body message body /attachment c:'temp'

Detailed Instructions

  1. Place Sendmail.exe in your system path folders.
  2. Make sure you know the FQDN or IP address of your mail server.
  3. Use the above syntax.

To read more about support and disclaimer information for this tool, please refer to the Petri IT Knowledgebase Tools and Scripts web page.

Related articles

You might also want to read the following related articles:

Join The Petri Insider - Weekly IT Tutorial and Tips, Whitepaper and Webinars