You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up notification emails for when two-factor authentication expires. I've been trying with my Gmail account (Gmail appears to be suggested given the defaults for smtp-host and smtp-port). The credentials are actually correct, but it appears that Gmail are phasing out support for SMTP forwarding (https://support.google.com/a/answer/14114704?hl=en). Is this a known issue and does anyone know of any workarounds? Thanks!
2024-03-11 17:21:36 INFO Sending 'two-step expired' notification via email...
Traceback (most recent call last):
File "icloudpd/base.py", line 760, in core
File "icloudpd/authentication.py", line 44, in authenticate_
icloudpd.authentication.TwoStepAuthRequiredError: Two-step/two-factor authentication is required
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "starters/icloudpd_ex.py", line 110, in <module>
File "starters/icloudpd_ex.py", line 106, in main
File "click/core.py", line 1157, in __call__
File "click/core.py", line 1078, in main
File "click/core.py", line 1688, in invoke
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "icloudpd/base.py", line 328, in main
File "icloudpd/base.py", line 771, in core
File "icloudpd/email_notifications.py", line 34, in send_2sa_notification
File "smtplib.py", line 750, in login
File "smtplib.py", line 739, in login
File "smtplib.py", line 662, in auth
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials c13-20020adfe74d000000b0033cf4e47496sm6944268wrn.51 - gsmtp')
[8] Failed to execute script 'icloudpd_ex' due to unhandled exception!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to set up notification emails for when two-factor authentication expires. I've been trying with my Gmail account (Gmail appears to be suggested given the defaults for smtp-host and smtp-port). The credentials are actually correct, but it appears that Gmail are phasing out support for SMTP forwarding (https://support.google.com/a/answer/14114704?hl=en). Is this a known issue and does anyone know of any workarounds? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions