PHP Classes

Simple Mail Class: Send e-mail messages relaying to an SMTP server

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 2,157 All time: 1,818 This week: 560Up
Version License Categories
simplemailclass 1.0.0GNU General Publi...Email, Networking


This is a very simple class that can be used to send e-mail messages by relaying to a given SMTP server.

It takes parameters defined as class variables for specifying the message sender, recipient, subject, body text and additional header.

The mail server address and the SMTP port are also configurable using class variables.

This class is to s€nd simpl€ €-mails, it allows to use From, To, Subject and custom h€aders.

Picture of nathan zadoks
Name: nathan zadoks <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: ???
All time rank: 141740 in The Netherlands The Netherlands
Week rank: 337 Up9 in The Netherlands The Netherlands Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Plain text file simplemail.class Class The Class File

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,818
This week:560Up