Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 2a1906e

Browse files
authored
Add info on symfony/mailer
1 parent d46a75f commit 2a1906e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Resources/doc/providers/email.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ Install the mailer component:
99
composer require symfony/swiftmailer-bundle
1010
```
1111

12+
Alternatively, you can use `symfony/mailer`, but then you *have* to implement a custom mailer class (see below), since
13+
the default mailer coming with the bundle only works with Swiftmailer.
14+
15+
You may want to upgrade to bundle version 5 (available from [scheb/2fa](https://github.com/scheb/2fa)) as it supports
16+
`symfony/mailer` out-of-the-box.
17+
18+
1219
## How it works
1320

1421
On successful authentication it generates a random number and persist it in the user entity. The number is sent to the

0 commit comments

Comments
 (0)