2017 © Pedro Peláez
 

library mail

a quick mail send php lib

image

lianzh/mail

a quick mail send php lib

  • Friday, November 24, 2017
  • by toohamster
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

LianzhMail

a quick mail send php lib, (*1)

<?php

require __DIR__ . '/vendor/autoload.php';

$settings = [

        'driver'       => 'smtp', #Supported: "smtp", "mail", "sendmail"
        'host' => 'smtp.exmail.qq.com',
        'port' => 465,
        'encryption' => 'ssl',
        'username' => "zhang3@qq.com",
        'password' =>"XzFqsmf",
        'pretend' => 0,#启用此选项,邮件不会真正发送,而是写到日志文件中

        'from' => array('address' => 'zhang3@wiwide.com', 'name' => '张三'),
    ];

$mailHelper = new \LianzhMail\MailHelper($settings);

\LianzhMail\MailHelper::thisIsExample($mailHelper, ['li4@qq.com']);

The Versions

24/11 2017

dev-master

9999999-dev https://github.com/lianzh/mail

a quick mail send php lib

  Sources   Download

Apache License Version 2.0

The Requires

 

by Avatar toohamster

mail php