-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMTP - server_hostname cannot be an empty string or start with a leading dot. #227
Comments
Hi Nico, Are you always seeing I'll try to reproduce myself tonight. cheers |
Hi Jörg, thanks for your reply. Nope, I can not reproduce. Can I force a logout / reauthentication? I'm curious what you find out. Cheers, |
I don't have the keyring error, but I do have the smtp error as well when enabling notifications. |
The error "server_hostname cannot be an empty string or start with a leading dot" seems to relate to a python bug with smtplib - https://bugs.python.org/issue36094 I was able to fix it by changing SMTP client session object creation in email_notifications.py from
to
|
@AndreyNikiforov Can you fix this? |
Can I do force a logout / reauthentication? Only then, can i test it. |
@nicoh88 try to (re-) move ~/.pyicloud directory (or the directory you use for storing the auth cookies with |
Works! You can merge the PR. 👍 |
iniitial pull by @nicoh88
Hello Community,
I have a problem with the smtp notification settings.
Command:
icloudpd --username=nico***@googlemail.com --password=*** --directory=/mnt/data/private/Bilder/2099-12-31\ iCloud/ --size=original --live-photo-size=original --auto-delete --folder-structure={:\%Y/\%m-\%B} --smtp-username [email protected] --smtp-password o9*** --smtp-host mail.gmx.net --smtp-port 587 --notification-email nico***@gmail.com
Error:
But why? Can someone help me?
Installed over
pip install icloudpd
Without the smtp options, works and downloading my photos, after two-factor authentication.
I cannot currently reproduce the problem because the two-factor authentication was successful. It will not occur again until two factor authentication is required again.
Cheers Nico
The text was updated successfully, but these errors were encountered: