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 (26 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 1 This week: 1All time: 8,787 This week: 777Up
Version License PHP version Categories
phpmailer-easy 1.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

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
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:1
This week:1
All time:8,787
This week:777Up