Crunzh cmdMail 1.1
Crunzh cmdMail is a command line email program that can be used to send email either manually from the command line or be called from other scripts and programs.
cmdMail is very light and is completely multi platform. It runs on every platform supported by the python programming language that includes but is not limited to: Windows 95/98/ME/NT/2000/XP, MacOS 9, MacOS X, Linux, freeBSD etc.)
The reason for creating cmdMail was that we discovered that CrunzhMail was used by a lot of people just to send easy emails from other programs. As CrunzhMail primarily was created to send easy email from a graphical user interface we decided to create a new program better suited for inter program operations without the overhead of a graphical user interface.
cmdMail uses the following syntax. cmdMail recipient@email.address “This is the subject” “this is the body of the email” “file-to-attach.doc”
or
cmdMail uses the following syntax. cmdMail recipient@email.address "This is the subject" -ftext_file_with_the_message.txt "file-to-attach.doc"
recipient@email.adresse is the recipient of the email. If you want to send the same email to several addresses write it like this “recipient@email.adress,recipient2@email.adress” You need to enclose the addresses it a pair of “ and separate them by a , and no spaces. You can put as many email addresses here as you want unless your server puts a limit on how many emails you can send. Every recipient will only see their own address in the to field of the email.
File attachments use the same syntax so you can attach several files to be emailed like this “file-to-attach.doc, file-to-attach.xls” You are only limited by the email size your server allows.
If you are running Windows run the cmdMail conf program from the start menu to configure cmdMail. If your server don’t require login simply leave the username and password fields empty.
Remember to write
If you are running Windows open the program called conf in the start menu and follow the included instructions.
If you are running another operating system or want to configure cmdMail manually you need to place a file in your home directory called sender.dat containing the following information, each on a separate line:
Sender Name
sender@email.address
your.smtp.server
The port of your SMTP server (Normally you use port 25, if you don’t know what to write here put that in (25)).
Username
Password
(Username and password are optional)
For example if you are using windows 2000/XP the file needs to be placed in c:\documents and settings\your-username If your user name on the machine is martin use c:\documents and settings\martin
On UNIX like systems use /home/yourusername
20th of August 2005 Version 1.1
You can now use a text file with formatting to specify the message of the email
13th of June 2005 Version 1.0
cmdMail now includes a graphical configurations program (Windows only).
Includes the ability to set the name of the sender.
12th of April 2005 Version 0.9 final beta
First released version
cmdMail is released under the BSD open source license.
Copyright © 2005, Martin Schultz.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Crunzh Technologies nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.