Skip to content

Commit

Permalink
documentation corrections
Browse files Browse the repository at this point in the history
Signed-off-by: sergiu <[email protected]>
  • Loading branch information
SergiuBota1 committed Dec 5, 2024
1 parent 29a544e commit 7196579
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 85 deletions.
81 changes: 0 additions & 81 deletions config/mail.global.php

This file was deleted.

2 changes: 1 addition & 1 deletion docs/book/v5/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $this->mailService->getMessage()->addTo("[email protected]");
`dot-mail` uses the `transport` key under the main `dot_mail` configuration key to select the email transport.
It has two email transport classes available (by default `sendmail`), one of which is to be added under the `dot_mail.transport` key for use.

Sending email with the `Esmtp` transport requires valid data for the values under `dot-mail.default.smtp_options`, which is only used in this case.
Sending email with the `esmtp` transport requires valid data for the values under `dot-mail.default.smtp_options`, which is only used in this case.

> The configured path must be a writable directory
Expand Down
4 changes: 2 additions & 2 deletions docs/book/v5/transports.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

> Feel free to use any custom transport you desire, provided it implements the mentioned `TransportInterface`.
PHP's `mail()` function is a wrapper over `Sendmail`, and as such has a different behaviour on Windows than on *nix systems. Using sendmail on Windows **will not work in combination with** `addBcc()`.
PHP's `mail()` function is a wrapper over `sendmail`, and as such has a different behaviour on Windows than on *nix systems. Using sendmail on Windows **will not work in combination with** `addBcc()`.

- Note: emails sent using the sendmail transport will be more often delivered to SPAM.

`Esmtp` connects to the configured SMTP host in order to handle sending emails.
`esmtp` connects to the configured SMTP host in order to handle sending emails.
2 changes: 1 addition & 1 deletion test/CommonTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private function generateConfig(): array
'username' => 'test',
//the smtp authentication credential
'password' => 'testPassword',
'tsl' => null,
'tls' => null,
],
],
],
Expand Down

0 comments on commit 7196579

Please sign in to comment.