From 37a972d4177cb3aacc90795f9dd71fce43acf6d4 Mon Sep 17 00:00:00 2001 From: Fletcher Date: Mon, 4 Dec 2023 14:05:24 +0800 Subject: [PATCH] Replace Google password auth instructions with expanded app password info (#30106) * Replace Google password auth instructions with expanded app password info * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/smtp.markdown | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/_integrations/smtp.markdown b/source/_integrations/smtp.markdown index 8b66b0d899c..a1e8d4e351a 100644 --- a/source/_integrations/smtp.markdown +++ b/source/_integrations/smtp.markdown @@ -198,13 +198,18 @@ notify: sender: "YOUR_USERNAME@gmail.com" encryption: starttls username: "YOUR_USERNAME@gmail.com" - password: "YOUR_PASSWORD" + password: "YOUR_APP_PASSWORD" recipient: - "RECIPIENT_1@example.com" - "RECIPIENT_N@example.com" sender_name: "SENDER_NAME" ``` -Keep in mind that Google has some extra layers of protection that need special attention. By default, the usage by external applications is limited so you will need to visit the [less secure apps](https://myaccount.google.com/lesssecureapps) page and enable it to be able to send e-mails. Be aware that Google will periodically turn it off if it is not used (no e-mail is sent). +Google has some extra layers of protection that need special attention. You must use [an application-specific password](https://support.google.com/mail/answer/185833) in your notification configuration. -To avoid having your e-mail notifications broken due to the less secure app's behavior, it is recommended that you enable 2-step verification on your Google account, and use [an application-specific password](https://support.google.com/mail/answer/185833) in your notification configuration. +If any of the following conditions are met you will not be able to create an app password: + +- You do not have 2-step verification enabled on your account. +- You have 2-step verification enabled but have only added a security key as an authentication mechanism. +- Your Google account is enrolled in Google's [Advanced Protection Program](https://landing.google.com/advancedprotection/). +- Your Google account belongs to a Google Workspace that has disabled this feature. Accounts owned by a school, business, or other organization are examples of Google Workspace accounts.