Skip to content

Commit

Permalink
Update gmail.rst
Browse files Browse the repository at this point in the history
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
  • Loading branch information
schuylr authored and weaverryan committed Jul 15, 2015
1 parent f30540e commit 0320b5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cookbook/email/gmail.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ You're done!

The ``gmail`` transport is simply a shortcut that uses the ``smtp`` transport
and sets ``encryption``, ``auth_mode`` and ``host`` to work with Gmail.

.. note::

Depending on your Gmail account settings, you may get authentication errors within your app.
You should ensure two-factor authentication and [also allow less secure apps to access your
account](https://support.google.com/accounts/answer/6010255)

0 comments on commit 0320b5e

Please sign in to comment.