Closed A6669 closed 3 years ago
Thanks for a complete report, but I am afraid this is most likely a server-side error. In any case the last call from webchanges is to the built-in Python library smtplib, so there isn't much I can do about it as it is this built-in library that ultimately reports "Connection unexpectedly closed" with your server:
File "/Users/xxx/opt/anaconda3/lib/python3.8/site-packages/webchanges/mailer.py", line 99, in send
with smtplib.SMTP(self.smtp_server, self.smtp_port) as server:
Of course, using another server might do the trick (I use Gmail and have never seen this error).
Describe the bug
To Reproduce Include relevant snippets of anything required (e.g. jobs and configuration files) for anyone to fully reproduce the bug.
Expected behavior A clear and concise description of what you expected to happen. webchange should send my email to my 126 mail to my gmail Screen scrape/screenshots If applicable, add screen scrape or screenshots to help explain your problem.
Version info Please run
webchanges -v
and paste the version information as follows (first 3 lines): -2021-11-03 09:17:52,314 cli DEBUG: webchanges: 3.8.3 Copyright 2020- Mike Borsetti -2021-11-03 09:17:52,315 cli DEBUG: CPython: 3.8.8 ('default', 'Apr 13 2021 12:59:45') Clang 10.0.0 -2021-11-03 09:17:52,348 cli DEBUG: System: macOS-10.16-x86_64-i386-64bitAdditional context Add any other context about the problem here. I use a software called launchcontrol link to auto run webchange at night. this is launchcontrol's setting up.
and this bug is a little bit strange, sometimes webchange does work, sometimes it will produce errors as above. can you help me? thanks in advance.