PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2017-02-02 (2 years ago) RSS 2.0 feedStarStarStar 59%Total: 330 This week: 1All time: 6,974 This week: 455Up
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.

  Performance   Level  
Name: 聲gel Manso P廨ez <contact>
Classes: 3 packages by
Country: Spain Spain
Age: 27
All time rank: 232057 in Spain Spain
Week rank: 374 Up15 in Spain Spain Up

Details

phpmailer-easy

A easy way to send mail with phpmailer

How-to

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

<?php
include("PHPMailerEasy.php");
$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!

Dependencies

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 README.md Doc. Documentation

Downloadphpmailer-easy-2017-02-02.zip 13KB
Downloadphpmailer-easy-2017-02-02.tar.gz 12KB
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  
 75%
Total:330
This week:1
All time:6,974
This week:455Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1430
 
really simple and useful
17 days ago (Luiz Antonio Souza Ribeiro)
77%StarStarStarStar