t-cyrill/net-simple-mailer
Composer 安装命令:
composer require t-cyrill/net-simple-mailer
包简介
Lightweight mail library.
关键字:
README 文档
README
SimpleMailer is a lightweight PHP 5.3 library. (Support PHP 5.4 and PHP 5.5).
This is PHP mail function wrapper.
Installation
Composer
Download the composer.phar.
$ curl -s http://getcomposer.org/installer | php
Run Composer: php composer.phar require "t-cyrill/net-simple-mailer"
Direct Install
Simplemailer is one PHP file library.
We can use Simplemailer, using require 'SimpleMailer.php'
Usage
<?php require 'vendor/autoload.php'; $mailer = new Net\SimpleMailer("\n"); $mailer->from($from) ->to($address) ->subject($subject) ->message($msg) ->attachment($file) ->send();
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-10-23