Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2017-02-02 (26 days ago)  | | Not yet rated by the users | | Total: 1 This week: 1 | | All time: 8,787 This week: 777 |
|
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. | |
|
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.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.