Skip to content

Commit

Permalink
config corrections
Browse files Browse the repository at this point in the history
Signed-off-by: sergiu <[email protected]>
  • Loading branch information
SergiuBota1 committed Dec 6, 2024
1 parent 7196579 commit 7967109
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions config/mail.global.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
declare(strict_types=1);

return [

/**
* Dotkernel mail module configuration
* Note that many of these options can be set programmatically too, when sending mail messages actually that is
* what you'll usually do, these config provide just default and options that remain the same for all mails
* what you'll usually do, these configs provide just defaults and options that remain the same for all mails
*/
'dot_mail' => [
//the key is the mail service name, this is the default one, which does not extends any configuration
//the key is the mail service name, this is the default one, which does not extend any configuration
'default' => [
//message configuration
'message_options' => [
Expand Down Expand Up @@ -46,17 +45,17 @@ return [
],
],
/**
* the mail transport to use
* can be any class implementing Symfony\Component\Mailer\Transport\TransportInterface
* the mail transport to use can be any class implementing
* Symfony\Component\Mailer\Transport\TransportInterface
*
* for standard mail transports, you can use these aliases
* - sendmail => Symfony\Component\Mailer\Transport\SendmailTransport
* for standard mail transports, you can use these aliases:
* - sendmail => Symfony\Component\Mailer\Transport\SendmailTransport
* - esmtp => Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport
*
* defaults to sendmail
**/
'transport' => 'sendmail',
//options that will be used only if esmtp adapter is used
//options that will be used only if esmtp adapter is used
'smtp_options' => [
//hostname or IP address of the mail server
'host' => '',
Expand All @@ -68,7 +67,7 @@ return [
//the smtp authentication credential
'password' => '',
//to disable auto_tls set tls key to false
//it's not recommended to disable TLS while connecting to an SMTP server over the Internet
//it's not recommended to disable TLS while connecting to an SMTP server
'tls' => null,
],
],
Expand Down

0 comments on commit 7967109

Please sign in to comment.