About |
Download |
Installation |
TLS |
Releases
About SendEmail
SendEmail is a lightweight, command line SMTP email client.
If you have the need to send email from a command line, this free program is perfect: simple to use and feature rich.
It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable and will likely meet your requirements.
SendEmail is written in Perl and is unique in that it requires NO MODULES.
It has an intuitive and flexible set of command-line options, making it very easy to learn and use.
[Supported Platforms: Linux, BSD, OS X, Windows 98, Windows NT, Windows 2000, & Windows XP]
Download
-
Official Release: sendEmail-v1.55.tar.gz (27kb Dec 13th, 2006) Changelog Screen Shot
Windows Executable:
Free sendEmail.exe for Windows. To use simply run sendEmail.exe from a console / command line.
sendEmail-v155.zip (1.4mb Dec 21st, 2006) TLS supported
sendEmail-v155-notls.zip (674kb Dec 21st, 2006) No TLS support
RPM Package: sendEmail rpm
Command Line Options
SendEmail has the following command line options:

How do I install it?
Simply download, extract, and run "sendEmail" from a command prompt, it will give a usage
summary. It is written in Perl, so no compilation needed. On a unix system if your
perl binary is not installed at /usr/bin/perl you may need to edit the first line of
the script. If you're running a Microsoft OS you may need to put a .pl extension
on sendEmail so Windows will know to associate it with perl.
TLS Support
Starting with sendEmail v1.54, TLS support is included! To enable TLS support simply
install the Net::SSLeay and IO::Socket::SSL perl modules.
The following new command line parameters are now available:
-o tls=auto This is the default, TLS will be used if possible.
-o tls=yes Use this to require TLS for message delivery.
-o tls=no Use this to disable TLS support.
If TLS is giving strange errors, try upgrading the Net::SSLeay and IO::Socket::SSL perl modules.
Please do NOT report TLS bugs unless you have already done this! If you're running up-to-date
versions of these modules and you are getting TLS errors, your detailed bug report will be appreciated.
Yes, you can finally use SendEmail to send messages to your GMail account :)
Why not use sendmail?
Sendmail is a large and complex mail server. Installing this kind of
mail software on servers (unless it's a mail server) is more of a security
risk than it's worth. Not to mention it can be a real pain messing with configuration
files and such. Systems need another simpler way to send email from the command prompt,
and sendEmail provides this functionality. Its a simple, direct way to send email
without the overhead of other conventional email software.
How can I send anonymous email?
SendEmail was not intended to be used for malicious purposes, like sending spam!
However, there are often legitimate reasons to send email anonymously. I use the term
"anonymous" to mean sending email from an address that isn't normally associated with
just you. For example, sendEmail is a great script for emailing company newsletters
where you want to send email from an "anonymous" account like newsletter@yourdomain.com.
To send "anonymous" email from a CLI with sendEmail, simply specify a from address that you want
to use with the -f option, and unless your ISP's SMTP email server is picky, it will
accept and deliver it.
View Example
$ sendEmail \
-f newsletter@somedomain.com \
-t "Newsletter <newsletter@somedomain.com>" \
-bcc \
subscriber@a.com \
subscriber@b.com \
subscriber@c.com \
-u Monthly Newsletter \
-m This is your monthly newsletter. To unsubscribe click here. \
-s mail.yourisp.net
Encrypted Email
Thomas Jens Lauritsen has provided instructions on how to send SMIME
signed email messages with sendEmail:
View Details
## Sign the message with openssl
$ openssl smime -in myMessage.txt \
-text \
-sign \
-signer newcert.pem \
-inkey newreq.pem \
-from "Somebody <anybody@mydomain.dk>" \
-to somebody@mydomain.dk \
-subject "TEST MESSAGE SIGNED \
> signed_message ## Send the message
$ cat signed_message | sendEmail -o message-format=raw \
-t somebody@mydomain.dk \
-f someoneelse@somedomain.dk \
-s gatewayserver
SendEmail on the Net
Download Previous Releases
- Version 1.5x -- Large portions rewrote again, many enhancements.
-
sendEmail-v1.55.tar.gz (27kb Dec 13th, 2006) sendEmail-v155.zip (No TLS Support) (674kb) sendEmail-v155.zip (With TLS Support) (1.4mb)
sendEmail-v1.54.tar.gz (26kb Oct 28th, 2006) sendEmail-v154.zip (702kb) Screen Shot STABLE
sendEmail-v1.52.tar.gz (23kb Feb 19th, 2005) sendEmail-v152.zip (635kb)
sendEmail-v1.51.tar.gz (23kb Dec 2nd, 2004)
sendEmail-v1.50.tar.gz (22kb Sep 30th, 2004)
- Version 1.4x -- Rewrite, fix logging, general cleanup
-
sendEmail-v1.42.tar.gz (15.2kb Jun 6th, 2003) sendEmail-v1.42.zip (406.8kb) STABLE
sendEmail-v1.41.tar.gz (14.8kb Apr 22nd, 2003) sendEmail-v1.41.zip (406.6kb)
sendEmail-v1.40.tar.gz (14.5kb Dec 4th, 2002) sendEmail-v1.40.zip (406.8kb) Screen Shot
- Version 1.3x -- File attachment support
-
sendEmail-v1.33.tar.gz (10.0kb Apr 16th, 2001) sendEmail-v1.33.zip (422.5kb) STABLE
sendEmail-v1.32.tar.gz (9.0kb Aug 18th, 2000) sendEmail-v1.32.zip (447.2kb) Screen Shot
sendEmail-v1.31.tar.gz (8.8kb Aug 9th, 2000)
sendEmail-v1.30.tar.gz (8.9kb Aug 1st, 2000) Screen Shot
- Version 1.2x -- Lots of features (usability enhancements)
-
sendEmail-v1.22.tar.gz (5.3kb Jul 8th, 2000)
sendEmail-v1.21.tar.gz (4.7kb May 15th, 2000)
sendEmail-v1.20.tar.gz (4.4kb May 10th, 2000) Screen Shot
- Version 1.0x -- Basic email sending capabilities
-
sendEmail-v1.01.tar.gz (2.4kb Apr 27, 2000)
sendEmail-v1.00.tar.gz (2.1kb) Screen Shot
sendEmail-v0.97.gz (1.7kb)
|
Ad Block:
Time is money, Track it.
Check out my latest project! A free web 2.0 time tracking system.
Make a Donation:
|
|