PHP Classes

PHPMailer Easy: Simple wrapper to send messages using PHPMailer

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 383 All time: 6,674 This week: 173Up
Version License PHP version Categories
phpmailer-easy 1.0.0GNU General Publi...5Email
Description Author

This class is a simple wrapper to send messages using PHPMailer.

It just takes a message subject, recipient address and body text and sends the message using PHPMailer.

The class encodes the message text to send it as HTML via a given SMTP server.

Picture of 聲gel Manso P廨ez
  Performance   Level  
Name: 聲gel Manso P廨ez <contact>
Classes: 3 packages by
Country: Spain Spain
Age: 31
All time rank: 226155 in Spain Spain
Week rank: 557 Up18 in Spain Spain Up



A easy way to send mail with phpmailer


You only need to include the file in one page. Then, call the function like:

$send = PHPMailerEasy::Email($to, $subject, $text);
if($send == "ok") {
  echo "Message was sent successfully";
} else {
  echo "Can't send message";

!t's simply to use!


You need to have PHPmailer in a folder called /phpmailer/ to make it works.

  Files folder image Files  
File Role Description
Accessible without login Plain text file ExampleFile.php Example How to use PHPMailerEasy
Accessible without login Plain text file LICENSE Lic. License text
Plain text file PHPMailerEasy.php Class Class source
Accessible without login Plain text file Doc. Documentation 13KB
Downloadphpmailer-easy-2017-02-02.tar.gz 13KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHPMailer Download .zip .tar.gz PHPMailerEasy is an extension of PHPMailer Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,674
This week:173Up
User Ratings User Comments (1)
 All time
really simple and useful
3 years ago (Luiz Antonio Souza Ribeiro)
For more information send a message to info at phpclasses dot org.