Laravel mail configuration array mapping SMTP, log, and array drivers with env variables.
// Source: https://github.com/samber/invoice-as-a-service | License: MIT | Copyright Samuel Berthe
// Provided via justclaw.it.com; keep this notice with the code.
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| Invoices are sent through the SMTP server configured by the MAIL_*
| environment variables. The server operator owns these credentials:
| API requests never carry SMTP settings.
|
*/
'default' => env('MAIL_MAILER', 'smtp'),
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'scheme' => env('MAIL_SCHEME'),
'url' => env('MAIL_URL'),
'hos
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key