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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-02-02 (7 months ago) RSS 2.0 feedNot enough user ratingsTotal: 268 This week: 2All time: 7,382 This week: 342Up
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: 26
All time rank: 243859 in Spain Spain
Week rank: 99 Up4 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:268
This week:2
All time:7,382
This week:342Up