The Finest Hand-Selected Downloads
Individually reviewed & tested
Store News

Send emails from the command line with ShellSend 2.0

10 July 2014, Mike Williams

Binary Fortress Software has announced the release of ShellSend 2.0, the latest edition of its free tool for sending emails from the command line.

The new build adds an extra parameter which specifies the email body text, rather than pointing the program at a separate text file.

If you’re creating a script which you’d like to notify you when it’s finished, for example, you can now use something like this (all on a single line).

shellsend.exe “to@host.com” “myname@domain.com” “smtp.mydomain.com” 25 0 “username@domain.com” “mypassword” “Report” “” “Task completed successfully!”

Send emails automatically from your own scripts

The command is sending an email with the subject “Report”, containing the message “Task completed successfully!”, to “to@host.com”, from “myname@domain.com”, accessing “smtp.mydomain.com” via port 25, logging in as “username@domain.com” with the password “mypassword”.

ShellSend 2.0 also supports sending messages via SSL (replace 25 0 with 465 1). And if you don’t need authentication, you can simplify its commands by leaving the user name and password blank (just use double quotes, like “”).

As usual with this kind of tool, it’s very much bare bones emailing, so for example you can only send text messages: binary attachments aren’t supported.

ShellSend 2.0 can still be a handy addition to your scripting toolkit, though, and as it’s portable there’s at least a chance you’ll be able to use it on other systems.

Your Comments & Opinion

44,818,960
Downloads
Secure & Tested Software
6,478
Reviews
Instant Download 24/7
314,872
Members
10+ Years of Service