mailit |
mailit is a command line based frontend for all kinds of Unix mailers like sendmail, ssmtp, postfix etc.
Download the program and install it to a folder of your choice with - tar xvfz mailit.tar.gz then read the instructions inside the program to configure it. Install the MIME::Lite Package (ZeeGee Software Inc.) from CPAN.
To send an e-mail to shorty@host.ch with "this my file" as body-text and 2 attachments use: echo "this my files" | mailit -p -t shorty@host.ch -a /doc/file1.html,/doc/file2.tar.Z -s "Files for Shorty"or another example piping command output directly into body: netstat -tulpn | mailit -p -t sysadmin@hostn.ch -s "netstat from host XY" For help use mailit -h and mailit -H for the manual page respectively.
Unix/Linux Platform with Perl installed Copyright and License This program is Copyright © 1998 by Peter_Siegrist(SystemLoesungen) . The program is free software under the terms of the GNU General Public License.
Suggestions are welcome to PSS .
|