ShellSend is a compact free tool which allows you to send text emails from the command line, batch files or scripts.
The program's syntax looks like this:
shellsend.exe [to address] [from address] [mailserver] [mailserver port] [use SSL (0 or 1)] [username] [password] [email subject] [body-filename] [body-text]
("Body-filename" here refers to an optional file which contains the body text of the email. ShellSend can't send binary files as an attachment.)
In practical terms, you'll enter something like this:
Here ShellSend is sending a message titled "Test", containing the text "This is my body message!", to "[email protected]", using your email address "[email protected]", through SMTP port 25, without using SSL, logging in as "[email protected]" with the password "mypassword".
If authentication isn't required then you can safely leave the username and password fields blank, like:
Enter a command to test this, and ShellSend tries to access the mail server as you've specified. If all is well you'll see "Message sent successfully"; if there's a problem, the program will pause for a while before timing out. Check your settings carefully and try again.
We'd like an option to include binary attachments, but otherwise ShellSend makes it reasonably easy to send emails from scripts and the command line.