Login   Register  
PHP Classes
elePHPant
Icontem

Arioch Mail: Send e-mail messages via SMTP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 713 This week: 2All time: 4,260 This week: 790Up
Version License PHP version Categories  
arioch_mail 1.0GNU Lesser General Publ...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
Age: 57
All time rank: 252999 in Italy Italy
Week rank: 732 Up33 in Italy Italy Up

  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:713All time:4,260
 This week:2This week:790Up
 User Comments (1)