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

Commit

Permalink
Add info on symfony/mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
scheb committed Jul 28, 2020
1 parent d46a75f commit 2a1906e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Resources/doc/providers/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Install the mailer component:
composer require symfony/swiftmailer-bundle
```

Alternatively, you can use `symfony/mailer`, but then you *have* to implement a custom mailer class (see below), since
the default mailer coming with the bundle only works with Swiftmailer.

You may want to upgrade to bundle version 5 (available from [scheb/2fa](https://github.com/scheb/2fa)) as it supports
`symfony/mailer` out-of-the-box.


## How it works

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

0 comments on commit 2a1906e

Please sign in to comment.