Skip to content

Commit 0320b5e

Browse files
schuylrweaverryan
authored andcommitted
Update gmail.rst
There are issues with the current docs as they don't address certain user configurations that prevent Symfony from emailing from their app. Mentioning two factor authentication and the less secure app setting is in my opinion, paramount. Reference: http://stackoverflow.com/q/29085617/1188035
1 parent f30540e commit 0320b5e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/email/gmail.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,9 @@ You're done!
7575

7676
The ``gmail`` transport is simply a shortcut that uses the ``smtp`` transport
7777
and sets ``encryption``, ``auth_mode`` and ``host`` to work with Gmail.
78+
79+
.. note::
80+
81+
Depending on your Gmail account settings, you may get authentication errors within your app.
82+
You should ensure two-factor authentication and [also allow less secure apps to access your
83+
account](https://support.google.com/accounts/answer/6010255)

0 commit comments

Comments
 (0)