fix: email conf

This commit is contained in:
Michael 2024-08-19 16:08:13 +02:00
parent e96224106b
commit f25148606a
1 changed files with 17 additions and 17 deletions

View File

@ -9,20 +9,20 @@ return [
| |
| This option controls the default mailer that is used to send all email | This option controls the default mailer that is used to send all email
| messages unless another mailer is explicitly specified when sending | messages unless another mailer is explicitly specified when sending
| the message. All additional mailers can be configured within the | the message. All additional mailers can be envured within the
| "mailers" array. Examples of each type of mailer are provided. | "mailers" array. Examples of each type of mailer are provided.
| |
*/ */
'default' => config('MAIL_MAILER', 'log'), 'default' => env('MAIL_MAILER', 'sendmail'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Mailer Configurations | Mailer envurations
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Here you may configure all of the mailers used by your application plus | Here you may envure all of the mailers used by your application plus
| their respective settings. Several examples have been configured for | their respective settings. Several examples have been envured for
| you and you are free to add your own as your application requires. | you and you are free to add your own as your application requires.
| |
| Laravel supports a variety of mail "transport" drivers that can be used | Laravel supports a variety of mail "transport" drivers that can be used
@ -38,14 +38,14 @@ return [
'smtp' => [ 'smtp' => [
'transport' => 'smtp', 'transport' => 'smtp',
'url' => config('MAIL_URL'), 'url' => env('MAIL_URL'),
'host' => config('MAIL_HOST', '127.0.0.1'), 'host' => env('MAIL_HOST', '127.0.0.1'),
'port' => config('MAIL_PORT', 1025), 'port' => env('MAIL_PORT', 1025),
'encryption' => config('MAIL_ENCRYPTION', 'tls'), 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => config('MAIL_USERNAME'), 'username' => env('MAIL_USERNAME'),
'password' => config('MAIL_PASSWORD'), 'password' => env('MAIL_PASSWORD'),
'timeout' => null, 'timeout' => null,
'local_domain' => config('MAIL_EHLO_DOMAIN'), 'local_domain' => env('MAIL_EHLO_DOMAIN'),
], ],
'ses' => [ 'ses' => [
@ -54,7 +54,7 @@ return [
'postmark' => [ 'postmark' => [
'transport' => 'postmark', 'transport' => 'postmark',
// 'message_stream_id' => config('POSTMARK_MESSAGE_STREAM_ID'), // 'message_stream_id' => env('POSTMARK_MESSAGE_STREAM_ID'),
// 'client' => [ // 'client' => [
// 'timeout' => 5, // 'timeout' => 5,
// ], // ],
@ -62,12 +62,12 @@ return [
'sendmail' => [ 'sendmail' => [
'transport' => 'sendmail', 'transport' => 'sendmail',
'path' => config('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'), 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
], ],
'log' => [ 'log' => [
'transport' => 'log', 'transport' => 'log',
'channel' => config('MAIL_LOG_CHANNEL'), 'channel' => env('MAIL_LOG_CHANNEL'),
], ],
'array' => [ 'array' => [
@ -96,8 +96,8 @@ return [
*/ */
'from' => [ 'from' => [
'address' => config('MAIL_FROM_ADDRESS', 'export-git@congegni.net'), 'address' => env('MAIL_FROM_ADDRESS', 'export-git@congegni.net'),
'name' => config('MAIL_FROM_NAME', 'Congegni - Export git'), 'name' => env('MAIL_FROM_NAME', 'Congegni - Export git'),
], ],
'email_address_recepient' => env('EMAIL_ADDRESS_RECEPIENT', null), 'email_address_recepient' => env('EMAIL_ADDRESS_RECEPIENT', null),
'email_prefix_subject' => env('EMAIL_PREFIX_SUBJECT', null), 'email_prefix_subject' => env('EMAIL_PREFIX_SUBJECT', null),