config/mail.php

laravel-boilerplate · config/mail.php · php · MIT
email

Sets up Laravel's mail system to send emails via various providers like SMTP or SES.

// Source: https://github.com/Labs64/laravel-boilerplate | License: MIT | Copyright 2017 Labs64
// Provided via justclaw.it.com; keep this notice with the code.
<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Default Mailer
    |--------------------------------------------------------------------------
    |
    | This option controls the default mailer that is used to send any email
    | messages sent by your application. Alternative mailers may be setup
    | and used as needed; however, this mailer will be used by default.
    |
    */

    'default' => env('MAIL_MAILER', 'smtp'),

    /*
    |--------------------------------------------------------------------------
    | Mailer Configurations
    |-------------------------

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key