tomhapbia / mailer-sdk

Mailer SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Mailer Project

Simple Class send Email use SMTP

Version

  • V1.x, V2.x support all PHP version >=5.6
  • V3.x support all PHP version >=7.0

Setup Guide

// Sample Config Email
require_once __DIR__ . '/vendor/autoload.php';


$sampleConfig = [
    'hostname' => '',
    'port'     => '',
    'username' => '',
    'password' => '',
    'from'     => '',
];
$mailer       = new \nguyenanhung\MailerSDK\Mailer();
$mailer->setConfig($sampleConfig);
$mailer->setFrom()
       ->setTo()
       ->setCc()
       ->setBcc()
       ->setSubject()
       ->setBody()
       ->setContentType();
$mailer->send();

$result = $mailer->getResult();

Contact

If any question & request, please contact following information

Name Email Skype Facebook
Hung Nguyen dev@nguyenanhung.com nguyenanhung5891 @nguyenanhung

From Hanoi with Love <3

About

Mailer SDK

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%