I'm running the latest versions of tclsh8.6 and tcllib but my script
circa 2018 that sends emails just quit authenticating with SMTP LOGIN
and SMTP PLAIN. It seems that google wants two-factor authentication
(not really needed by me since all my passwords are unique) and then an
app password. But this was supposed to happen in the middle of last
year, and my script just started failing this month. Maybe
grandfathered in?
The smtp dialog says 535-5.7.8 Username and Password not accepted.
Can any of you email gurus tell me if that is feasible with the smtp
package and this setup? How would I enter the app password--can I
hardwire it into the script somehow? I don't see such an option in the smtp::sendmessage
If Google is now a hassle, could yahoo or somewhere else still work?
Thanks,
--Tim
On 30/01/2024 19:59, Tim Wallace wrote:
On 1/30/24 14:36, Tim Wallace wrote:
I'm running the latest versions of tclsh8.6 and tcllib but my script
circa 2018 that sends emails just quit authenticating with SMTP LOGIN
and SMTP PLAIN. It seems that google wants two-factor authentication
(not really needed by me since all my passwords are unique) and then
an app password. But this was supposed to happen in the middle of
last year, and my script just started failing this month. Maybe
grandfathered in?
The smtp dialog says 535-5.7.8 Username and Password not accepted.
Can any of you email gurus tell me if that is feasible with the smtp
package and this setup? How would I enter the app password--can I
hardwire it into the script somehow? I don't see such an option in
the smtp::sendmessage
If Google is now a hassle, could yahoo or somewhere else still work?
Thanks,
--Tim
I tried the 2 step verification method (distinct from 2-factor
authentication) and made an app password. Putting that thing into my
script...eureka! We'll see what headaches the 2fa thing causes me
elsewhere, but since I'm on Android, hopefully not too much. I'll
change my Thunderbird password to this as well if I need to.
I spent years trying to work out how to do this. It's done now and I
can't recall the details, but I think the vital step was setting an app password. I don't think two-factor authentication came into it at all,
but from what you're saying it seems that Google may have changed things around a year or so back. As far as I recall, I don't have two factor authentication switched on and the email mechanism I put together with smtp::sendmessage was still working earlier this week. "2 step
verification" doesn't ring any bells at all.
Please post something if you want me to dig into my setup a bit more.
On Wed, 31 Jan 2024 14:56:12 -0500, Tim Wallace wrote:
I think they are planning to disable app passwords too. I vaguely
remember reading about it, the deadline is around June.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 497 |
Nodes: | 16 (2 / 14) |
Uptime: | 26:35:41 |
Calls: | 9,796 |
Calls today: | 15 |
Files: | 13,749 |
Messages: | 6,188,350 |