As I sent an email to myself to test the code, I get An error occurred: [WinError 10061] No connection could be made because the target machine actively refused it. Even though authentication is completed.
Hard to tell, pretty much anything can cause that. SCOPES = [ "www.googleapis.com/auth/gmail.modify", "www.googleapis.com/auth/gmail.send", ] did you use these scopes? Any firewalls or proxies? :/
Thank youuu so much sir!! 🎉🥳
As I sent an email to myself to test the code, I get An error occurred: [WinError 10061] No connection could be made because the target machine actively refused it. Even though authentication is completed.
Hard to tell, pretty much anything can cause that.
SCOPES = [
"www.googleapis.com/auth/gmail.modify",
"www.googleapis.com/auth/gmail.send",
]
did you use these scopes? Any firewalls or proxies? :/
I too encountered the same error. I tried few solutions but nothing worked out.
If you found the solution, plz post here?
Nice.