PHP code example of fractal512 / plain-smtp-mailer
1. Go to this page and download the library: Download fractal512/plain-smtp-mailer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
fractal512 / plain-smtp-mailer example snippets
'providers' => [
// ...
'Fractal512\PlainSmtpMailer\PlainSmtpMailerServiceProvider',
]
'providers' => [
// ...
Fractal512\PlainSmtpMailer\PlainSmtpMailerServiceProvider::class,
]
shell script
$ php artisan vendor:publish --tag=mailerconfig
shell script
$ php artisan vendor:publish
text
MAIL_DRIVER=PlainSmtpMailer