<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wedevelop4you / laravel-multiple-mailers example snippets
/*
* 'Choose a name for your mail config' => [
* 'username' => 'Your email address', ( email' (The default name is MAIL_FROM_NAME in your .env file)
* 'provider' => 'Your provider' (The default provider is default)
* ]
*/
'accounts' => [
'example' => [
'username' => '[email protected]',
'password' => env('MAIL_PASSWORD'),
]
]
/*
* The providers are the same as mailers in the mail config
*/
'provider' => [
'default' => [
'transport' => 'smtp',
'host' => env('MAIL_HOST'),
'port' => env('MAIL_PORT'),
'encryption' => env('MAIL_ENCRYPTION'),
'timeout' => null,
'auth_mode' => null,
],
]
/*
* 'worker' => The name of the queue worker. (The default name of the worker is 'default')
* 'default' => Always use the queue worker name on mail classes with ShouldQueue.
*/
'queue' => [
'worker' => '',
'default' => false,
]