Send Mail

by Daniel Petri - January 8, 2009

Description

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

Download sendmail.zip (6kb)

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

Syntax

Example:

SendMail /smtpserver mailsrv01 /to lamer@yourdomain.com /from me@mydomain.com /subject Message subject /body message body /attachment c:'temp'att.zip

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.

Support

No support of any sort will be given for this script/tool or for any other script/tool found on the Petri.co.il website for that matter. If you need to contact us with any support issues, feedback or suggestions regarding the tool(s) and script(s) found on this page please write an e-mail to THIS address.

Disclaimer

The software available from GanoTools is FREEWARE. It is not in the Public Domain. Asaf Ganot retains the copyright for this work. You can use it freely but do not claim it for your own or charge others money for it.

Use these tools at your own risk. They are provided for your own personal use and enjoyment and Asaf Ganot nor Daniel Petri nor Petri.co.il do not provide any warranty for them, nor they will be held responsible for any result allegedly caused by use or misuse of any of the tools found on this page.

Back to the Tools and Scripts page.

Related articles

You might also want to read the following related articles:

Related Articles



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