Simple Mailer connects via the SMTP protocol`s 25 port and sends the content of any file to the receivers you have previously specified.
Simple Mailer is a simple program for email using the command line, and which you can integrate with any of your scripts (whatever the language they are constructed in: Perl, CGI, PHP) or reuse from the SendMail basic command. Also, it is a very versatile application, as it allows the sent mails to contain both text and HTML.