Skip to content

Update gmail.rst #5085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is markdown syntax, while this docs is writting in reStructured Text. Please update this PR to use that syntax:

.. 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`_.

.. _`also allow less secure apps to access your account`: https://support.google.com/accounts/answer/6010255