cicciocb, a while back you said you had email working on gmail. Is it still working? If so, can you list the method step by step?
Thanks
Zim
Is email working on Gmail for anyone?
-
- Posts: 146
- Joined: Mon Feb 08, 2021 10:10 pm
- Location: Scotland
- Has thanked: 48 times
- Been thanked: 56 times
Re: Is email working on Gmail for anyone?
I posted this somewhere previously and as far as I know it still applies.
My ESPs send two or three a day without problems.
This might be a good place to start :- https://support.google.com/accounts/answer/2544838
My ESPs send two or three a day without problems.
This might be a good place to start :- https://support.google.com/accounts/answer/2544838
Google mail has become a bit more difficult recently with their "untrusted" device paranoia.
The Annex part is fairly easy - this should work if you have got the right info from google.
xxxxx in line 1 is first part of your gmail address.
jleoiwgdlgptdify in line 1 is the sort of string you have to obtain from your google account page google
An App Password is a 16-digit passcode that gives a less secure app or device permission to access your Google Account. App Passwords can only be used with accounts that have 2-Step Verification turned on.
myaccount.google.com/lesssecureapps
Code: [Local Link Removed for Guests]
email.setup"smtp.gmail.com", 465,"xxxxx","jleoiwgdlgptdify",1
msg$="Test999"
r = 0
subject$ = "ESP8266 message " + Date$
r = EMAIL("fredbloggs@somewhere.com", "someone@gmail.com", subject$, msg$)
If r = 1 Then 'it worked
Print
Print "Email sent on "; Date$; " at "; Time$
Else
Print
Print "Email failed r="; r; " on "; Date$; " at "; Time$
End If
Re: Is email working on Gmail for anyone?
Hi bugs;
Thanks a million for your reply! Your example awoke me to the problem!
-fill in config page
-legit Date!
-legit time!
It all makes sense now...
Thanks
Zim
Thanks a million for your reply! Your example awoke me to the problem!
-fill in config page
-legit Date!
-legit time!
It all makes sense now...
Thanks
Zim