New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adolph/email

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adolph/email

a simple email package

Source
Packagist
Version
dev-master
Version published
Total downloads
1
Maintainers
1
Created
Source

install

composer require adolph/email

using

$settings = [
    'host'			=>'smtp.163.com',
    'username'		=>'**********@**.com',
    'port'			=>25,
    'password'		=>'********',
];

$mail = new Adolph\Mailer($settings);

$result = $mail->sendMail('1138027478@qq.com','这里是传递的消息','这里是内容');

OR

$mail = new Adolph\Mailer();
$result = $mail->setHost('****')
    ->setUser('******')
    ->setPass('*********')
    ->setPort(25)
    ->sendMail('1138027478@qq.com','这里是传递的消息','这里是内容');
var_dump($result);

Keywords

package

FAQs

Package last updated on 11 Oct 2017

Related posts