to send emails via SMTP or sendmail or the client email tool you prefer on aix, hp-ux, linux, solaris and windows
Important projects based on SANFACE Software Products.
|What is sendemails?|
sendemails is a batch server tool to send emails via SMTP or via sendmail (or via the email client tool you prefer) on aix, hp-ux, linux, solaris and windows. If you ask us we can make executable for other OS.
|Why do you need sendemails?|
If you have an application and you want to send emails in the same way on the most famous OS is not so simple. STMP is complex to use directly. Sendmail and similar email client applications usually are not available on every os or have on different OS different features.
Sendemails is a simple solution to this problem.
Before you download our software, we ask you please to read the license and registration section to be aware of the licensing model which sendemails uses.
If you're interested in purchasing sendemails, please see the purchasing sendemails section.
We currently have 5 executable versions:
If you're interested in a binary for another operating system, such as FreeBSD, Mac OS X, SCO Unix, Irix, Digital Unix (tru64), please let us know, and we'll send you one. With enough requests, we'll also add one here permanently.
|Purchasing, Licensing and Registration|
sendemails is shareware. That means that you're welcome to try it and use it as much as you want for 30 days. If after that time you like sendemails or would like to continue using it, we ask you please to purchase it or remove it from your system.
Contact directly us!
Contact directly us! We're looking for resellers and partnerships.
Create a directory for sendemails (eg. sendemails)
Unpack the source file that you downloaded. For Windows, you can unzip using WinZip and for Linux and other Unix flavours, you can simply use GNU tar or gunzip then untar.
Test if the executable file works by running the following:
It's possible to set every feature of sendemails via command line. We have also added a configuration file for features usally don't change. The configuration file is sendemails.cfg. This file must reside in the same directory as the sendemails file, since it searches for this file at runtime. You can create your own sendemails.cfg file. Inside this file, you can change the values for the from, reply-to, smtp, subject, body, notify, priority, body_file, signature, mailto, mailcc and mailbcc, mime, localmail, attachlist variables.
To change any of these values, you just need to edit sendemails.cfg. You can also create a new .cfg file and tell sendemails to read it at runtime, using the -configure yourfile.cfg option. In this section, we will discuss the most widely used variables, the one you are most likely to use with sendemails.
The from variable allows you to set the sender email address. Default is email@example.com. Please change it.
The reply-to variable allows you to set the reply to if it different from the sender email address.
subject the Subject of the email (Your report is the default)
body the body of the email (In attach your report is the default). You can make a multiline body using \n like end of line.
body_file an external file where it's possible to specify the body of the email.
With smtp, you can set the smtp host (you can use the ip address or the domain).
localmail to set the local sendmail or similar command. The default is sendmail -t -oi -oem
If smtp variable it set, sendemails will use it. If stmp is not set and localmail is set, sendemail will use localmail command. Else an error will be returned.
notify the email address where you want to receive the notify of the read of your email.
priority to set the email priority. The default 3 means X-Priority: 3 (Normal) and X-MSMail-Priority: Normal. You can use also 1 X-Priority: 1 (Highest) and X-MSMail-Priority: High or 5 X-Priority: 5 (Lowest) and X-MSMail-Priority: Low.
signature to set the email signature.
With signature is possible to set an external file where to specify the list of attach files, one for every line.
mailto, mailcc and mailbcc to add email addresses to the ones specified with -to, -cc and -bcc.
sendemails [-options ...] files
where options include:
|-help||print out this message|
|-configure file||default sendemails.cfg|
|-test||like verbose (doesn't send the message)|
|-html||if the body is an html|
|-to "firstname.lastname@example.org"||the receiver|
|-from "email@example.com"||the sender (please change the default nobod\@nobody.com with your true email address)|
|-replyto "firstname.lastname@example.org"||when you need that the reply to is different from the sender|
|-notify "email@example.com"||the email where to send the MS notification|
|-priority 1 or 3 or 5||the email priority|
|-smtp host_name or ip address||the host name or the ip address of the SMTP server|
|-subject subject||the subject of the message|
|-body body||the body of the message|
|-||the text from STDIN like body|
sendemails is powerful enough for System Administrators to install globally and provide a default .cfg file for their users/organization. This can be easily done by:
setenv SENDEMAILSCFG /path/to/default.cfg (This can be added to .bashrc, .cshrc etc for example)
An user can still overwrite the default values by using another setenv or by defining in his own login files if he has a default .cfg file of his/her own. An user can still have a working directory with a sendemails.cfg and, if it exists, have it loaded. That allows him/her (without command line options) to setup fully functional working directories. Users may also use the -configure option to overwrite any defaults.