2017 © Pedro Peláez
 

library php_mail

php_mail

image

fifths/php_mail

php_mail

  • Monday, January 25, 2016
  • by fifths
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

php_mail

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Installation

composer require fifths/php_mail

Quick Start and Examples

require __DIR__ . "/../vendor/autoload.php";
use Mail\Smtp;

$mail = new Smtp();

$mail->host = 'smtp.163.com';
$mail->user = 'xxx@163.com';
$mail->pass = 'xxx';

$mail->debug = true;
$mail->nickname = 'fifths';
$to = "xxx@qq.com";
$subject = 'it is subject';
$body = 'it is body';
$data = $mail->sendMail($to, $body, $subject);
print_r($data);
succeed connect to smtp.163.com:25
220 163.com Anti-spam GT for Coremail System (163com[20141201])
250 OK
334 UGFzc3dvcmQ6
235 Authentication successful
250 Mail OK
250 Mail OK
354 End data with <CR><LF>.<CR><LF>
250 Mail OK queued as smtp7,C8CowEA5d0bRGYpW8O4AAA--.501S2 1451891154
221 Bye

The Versions

25/01 2016

dev-master

9999999-dev

php_mail

  Sources   Download

MIT

by Avatar fifths

04/01 2016

0.0.1

0.0.1.0

php_mail

  Sources   Download

MIT

by Avatar fifths