Is Gmail gonna stop our mailer function?

If doesn't fit into any other category ....
Post Reply
Zim
Posts: 280
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 253 times
Been thanked: 128 times

Is Gmail gonna stop our mailer function?

Post by Zim »

Looks like Gmail is gonna stop "less secure apps".
Is there a solution that anyone is aware of?
Thanks
Zim
User avatar
PeterN
Posts: 366
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 171 times
Been thanked: 203 times
Contact:

Re: Is Gmail gonna stop our mailer function?

Post by PeterN »

Hello Zim

I don't use gmail, but two different accounts from other free providers.
GMX.de and smtp2go.com do reliably good service with SMTP and send my regular messages from a Raspi and an ESP32 to a well watched mail account.

GMX asks from time to time to (re)enable the insecure SMTP protocol.
bugs
Posts: 142
Joined: Mon Feb 08, 2021 10:10 pm
Location: Scotland
Has thanked: 44 times
Been thanked: 50 times

Re: Is Gmail gonna stop our mailer function?

Post by bugs »

I already have a GMX email account that works ok with Thunderbird but I have never been able to get it to send from an ESPxx.
I would be grateful for any help...

The test program:-

Code: [Local Link Removed for Guests]

email.setup  "mail.gmx.com",465,"******@gmx.co.uk","**********gmx",1
r=EMAIL("******@gmx.co.uk", "******@gmail.com", "test99" ,  "Test message"  )
if r=1 then  'it worked
    print
    print"Emailed OK"
else
    print
    print"Email failed"
endif
The (Serial) result:-
Basic File Loaded: /testemail.bas
Program Running
Connecting: mail.gmx.com:465-24- FINAL 0
Email failed
Program Ended
User avatar
PeterN
Posts: 366
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 171 times
Been thanked: 203 times
Contact:

Re: Is Gmail gonna stop our mailer function?

Post by PeterN »

Hi Bugs
One possible reason could be as follows:
https://support.google.com/accounts/ans ... ur-account
Zim
Posts: 280
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 253 times
Been thanked: 128 times

Re: Is Gmail gonna stop our mailer function?

Post by Zim »

Thanks PeterN. I tried smtp2go but it seems they only allow private domain email for their register. I wonder if cicciocb could tweak annex to satisfy the dual security requirements of Gmail?

Thanks
Zim
bugs
Posts: 142
Joined: Mon Feb 08, 2021 10:10 pm
Location: Scotland
Has thanked: 44 times
Been thanked: 50 times

Re: Is Gmail gonna stop our mailer function?

Post by bugs »

OK - I have achieved a sent email using GMX - after a struggle.
Found that even copying from a live working program to a different module did not work.
I had to revert to version 1.43.4 as it would not work with 1.43.7 (ESP32)
Too late to do further testing tonight...
Post Reply