Sending an E-Mail from the windows commandline (cmd) is useful in batch files (.bat) when doing something like a backup to get informed about the success.
There is a little application included in this article (mailer.exe) which can be used for this purpose.
Just open mailer.exe from the commandline with the following parameters:
mailer.exe textfile.txt -subject "The subject of this message" -to email@example.com -server mailserver.com -port 25
is the file, which is sent as the E-Mail body.
parameter defines the E-Mail subject line.
parameter defines the receivers E-Mail address.
is used for the mailserver whcih should be used (IP or Name), -port
defines the port (25 = smtp).