khs1994/tencent-mail

A PHP Library for the Tencent Mail

dev-master / 18.06.x-dev 2018-10-21 07:19 UTC

This package is auto-updated.

Last update: 2022-05-25 12:33:06 UTC


README

GitHub stars PHP from Packagist GitHub (pre-)release Build Status StyleCI codecov

A PHP Library for the Tencent Mail

微信订阅号

46847944-84a96b80-ce19-11e8-9f0c-ec84b2ac463e.jpg

关注项目作者微信订阅号,接收项目最新动态。

Installation

To Use the package, simply:

$ composer require khs1994/tencent-mail

For latest commit version:

$ composer require khs1994/tencent-mail dev-master

Usage

<?php

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

$config = [];

$mail = new \TencentMail\TencentMail($config);

// get login url
$mail->login->getLoginUrl('khs1994@khs1994.com');

Laravel

$ php artisan vendor:publish --tag=config

Then edit config file config/tencent-mail.php

<?php

\TencentMail::login()->getLoginUrl('khs1994@khs1994.com');

PHP CaaS

Powered By khs1994-docker/lnmp

CI/CD