Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
klimov-paul committed May 10, 2024
1 parent 03dc385 commit db8bc07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Application configuration example:
return [
'components' => [
'mailer' => [
'class' => yii1tech\mailer\Mailer,
'class' => yii1tech\mailer\Mailer::class,
'dsn' => 'smtp://user:[email protected]:25',
],
],
Expand Down Expand Up @@ -88,7 +88,7 @@ Application configuration example:
return [
'components' => [
'mailer' => [
'class' => yii1tech\mailer\Mailer,
'class' => yii1tech\mailer\Mailer::class,
'defaultHeaders' => [
'From' => 'My Application<noreply@example.com>',
'Bcc' => '[email protected]',
Expand Down Expand Up @@ -137,7 +137,7 @@ Application configuration example:
return [
'components' => [
'mailer' => [
'class' => yii1tech\mailer\Mailer,
'class' => yii1tech\mailer\Mailer::class,
'view' => [
'viewPath' => dirname(__DIR__) . '/views/mail',
'layout' => 'default-layout',
Expand All @@ -162,7 +162,7 @@ Application configuration example:
return [
'components' => [
'mailer' => [
'class' => yii1tech\mailer\Mailer,
'class' => yii1tech\mailer\Mailer::class,
'dsn' => 'array://',
// ...
],
Expand Down
2 changes: 1 addition & 1 deletion src/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* return [
* 'components' => [
* 'mailer' => [
* 'class' => yii1tech\mailer\Mailer,
* 'class' => yii1tech\mailer\Mailer::class,
* 'dsn' => 'smtp://user:[email protected]:25',
* 'view' => [
* 'layout' => 'default-layout',
Expand Down

0 comments on commit db8bc07

Please sign in to comment.