From 39aa74ed6132c3e8467d8ea3835b59968d85066c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 26 Dec 2019 14:06:57 +0100 Subject: [PATCH] fix(third_party/lieer): Use correct scope for SMTP access Turns out that for some peculiar reason, the 'send' scope is not enough to send email and the full 'mail.google.com' scope is required. --- third_party/lieer/send_scope.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/lieer/send_scope.patch b/third_party/lieer/send_scope.patch index 32f4ead53..c882a79ac 100644 --- a/third_party/lieer/send_scope.patch +++ b/third_party/lieer/send_scope.patch @@ -7,7 +7,7 @@ index 6e3973a..ade1082 100644 class Remote: - SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify' -+ SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.send' ++ SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify https://mail.google.com/' APPLICATION_NAME = 'Lieer' CLIENT_SECRET_FILE = None authorized = False