email/send
Composer 安装命令:
composer require email/send
包简介
Send Email & Save information into database
README 文档
README
Send Email & Save to database
Installing Email\Send
Next, run the Composer command to install the latest stable version:
composer require email/send
After installing, you need to require Composer's autoloader:
php artisan vendor:publish
And then
hit 0 and enter
After complete publishing in vendor then migrating your database
php artisan migrate
Main Url is
url: es/input
Email Setup via env with gmail account
MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=yourgmail@gmail.com MAIL_PASSWORD=yourgmailpassword MAIL_ENCRYPTION=tls
After changing .env file then you should to go config folder and open 'mail.php' file and change following options from 'mail.php' file
'host' => env('MAIL_HOST', 'smtp.gmail.com'), 'port' => env('MAIL_PORT', 587), 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'reply email address for client'), 'name' => env('MAIL_FROM_NAME', 'Your Company Title'), ],
Its just a testing send email package
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-01