From 14612dd094b65269ed2d515fe8ec4a7d9536ca64 Mon Sep 17 00:00:00 2001 From: Abdul-Muqadim-Arbisoft <139064778+Abdul-Muqadim-Arbisoft@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:22:39 +0500 Subject: [PATCH] docs: Update Google SMTP Setup to Use Application-Specific Passwords (#1046) * docs: replace deprecated 'Less Secure Apps' with 'App-Specific Passwords' in Google SMTP guide --- docs/tutorials/google-smtp.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/tutorials/google-smtp.rst b/docs/tutorials/google-smtp.rst index 2352d7115e..90a8ad3d65 100644 --- a/docs/tutorials/google-smtp.rst +++ b/docs/tutorials/google-smtp.rst @@ -6,7 +6,18 @@ By default, Tutor comes with a simple SMTP server for sending emails. Such a ser .. warning:: Google Mail SMTP servers come with their own set of limitations. For instance, you are limited to sending 500 emails a day. Reference: https://support.google.com/mail/answer/22839 -You should authorize third-party to access your Google Mail account. In your Google Mail account, select "Manage Account", "Security", and turn on "Less Secure App Access". Check the Google documentation for more information on "less secure apps": https://support.google.com/accounts/answer/6010255 +Authorization for Third-Party Access : + +To enhance security, Google recommends the use of "Application-Specific Passwords" for third-party access to Google services. It's crucial to follow these steps to enable this feature: + +1. Activate 2-Step Verification for the Google Account. This is essential for setting up application-specific passwords. +2. Visit the Google Account Security page. +3. Under 'Signing in to Google,' select 'App passwords.' +4. It may be necessary to sign in again. After signing in, choose "Select app" and select "Other (Custom name)" from the dropdown menu. +5. Enter a name that describes the purpose of this password, such as 'Tutor SMTP'. +6. Click 'Generate' to receive your 16-character app-specific password. Make sure to record this password securely. + +Reference: https://support.google.com/mail/answer/185833 Then, check that you can reach the Google Mail SMTP service from your own server::