PHP Classes

Arioch Mail: Send e-mail messages via SMTP

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 779 All time: 4,361 This week: 56Up
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
Age: 67
All time rank: 2696106 in Italy Italy
Week rank: 200 Up9 in Italy Italy Up

  Files folder image Files (3)  
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()

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:779
This week:0
All time:4,361
This week:56Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2213