PHP Classes
elePHPant
Icontem

Arioch Mail: Send e-mail messages via SMTP

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-08-05 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 736 All time: 4,341 This week: 1,045Up
Version License PHP version Categories
arioch_mail 1.0GNU Lesser Genera...4.3.0Email, Networking
Description Author

This class can be used to send e-mail messages via SMTP.

It can connect to a given SMTP server and send an e-mail message with given headers and body data.

A separate script provides a replacement for the mail() and ezmlm_hash() functions that uses this class to send messages when the PHP mail() function is not available.

This class reuses several methods from the Nomad MIME Mail class originally written by Alejandro García González, and is therefore LGPL licensed.

PS: All my Apache configurations include the statement

AddType application/x-httpd-php .php .inc

thus making sure files ending in .inc are treated like PHP sources, moreover all .php and .inc files are readable only by the Apache user.

Should this NOT be your case, I recommend you rename .inc to .inc.php, and advice your Web server admin to make all .php files readable by just the Apache user.

Picture of Massimo Squillace
Name: Massimo Squillace <contact>
Classes: 1 package by
Country: Italy Italy

  Files folder image Files  
File Role Description
Plain text file arioch_class.inc Class The class
Accessible without login Plain text file arioch_class_demo.php Example A snippet to test the mail() replacement
Accessible without login Plain text file arioch_class_sample.inc Example A sample drop-in replacement for mail()

 Version Control Unique User Downloads Download Rankings  
 0%
Total:736
This week:0
All time:4,341
This week:1,045Up
User Comments (1)