PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 778 All time: 4,363 This week: 146Up
Version License PHP version Categories
arioch_mail 1.0GNU Lesser Genera...4.3.0Email, Networking


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: 67
All time rank: 2696106 in Italy Italy
Week rank: 298 Up14 in Italy Italy Up

  Files folder image Files  
File Role Description
Plain text file 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 Example A sample drop-in replacement for mail()

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,363
This week:146Up
User Ratings User Comments (1)
 All time