News Shareware IServices Resellers Projects Partnerships
sendemails (batch server tool to send emails)

to send emails via SMTP or sendmail or the client email tool you prefer on aix, hp-ux, linux, solaris and windows
Developed by SANFACE Software
Version 4.0 19 September 2018

Contents

SANFACE Software

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.

Download sendemails

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.

These are the fees, clicking on the links you can buy our software at SWREG: e.g. a virtual server with a 4 cores fee is $75 + 3x$10 = $105  

Volume Discount

Contact directly us!

Reseller Discount

Contact directly us! We're looking for resellers and partnerships.

Installing sendemails
  1. Create a directory for sendemails (eg. sendemails)

  2. 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.

  3. Test if the executable file works by running the following:

    • ./sendemails -h (Linux and other Unix flavours)
    • .\sendemails (Windows)

Configuration of sendemails

  1. 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.

  2. 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 nobody@nobody.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.

With mime you can specify a mime file. Default is mime.txt in the same directory of sendemails.cfg. Obviously you can specify a different name and a different directory.
The syntax is very simple: extension: mime type
e.g. html:text/html
Edit this file and add or delete the comment (#) in front of the lines you need.
Syntax

sendemails [-options ...] files
where options include:
-help print out this message
-configure file default sendemails.cfg
-verbose verbose
-test like verbose (doesn't send the message)
-html if the body is an html
-to "name@domain.com" the receiver
-cc "name@domain.com" cc
-bcc "name@domain.com" bcc
-from "yourname@yourdomain.ext" the sender (please change the default nobod\@nobody.com with your true email address)
-replyto "yourname@yourdomain.ext" when you need that the reply to is different from the sender
-notify "yourname@yourdomain.ext" 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
example:
sendemails -to "name1\@domain1.com,name2@domain2.com" -from "Name Surname <name.surname@domain.com>" -sub "This is Test" -body "This is an important\\n\\nTEST!" -smtp 10.0.0.0 *.pdf *.htm

Multiuser Features

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:

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.

History
sendemails is a trademark of SANFACE Software© 2007-2007.
Your technology glasses. We help you see your full potential.
mailto:sanface@sanface.com http://www.sanface.com

News Shareware IServices Resellers Projects Partnerships