Send email as unencrypted SMTP protocol
Opened this issue · 2 comments
Google email stopped working about 2 weeks ago. I replaced the smtp settings with my ISP smtp server on port 25, 567 or 465 but I kept getting this error
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)
to fix this, I open the file /kijiji_scraper/email_client.py, and replace this line
server = smtplib.SMTP_SSL(self.smtp_server, self.smtp_port)
with
server = smtplib.SMTP(self.smtp_server, self.smtp_port)
Then I can start using SMTP servers on port 25
Thought I should let you guys know
Cheers
This might be the reason it stopped working.
Firstly thanks guys for creating such a much-needed tool. Unfortunately just as I was setting it up I came across this issue. We would much appreciate it if you can provide an alternative solution for this.
Too bad I don't have the python knowledge to contribute otherwise I would be more than happy to contribute.
Looking forward to a fix.
Ignore my comment this may not be related to your issue.
Sorry for that. I fixed my problem which is related to gmail deprecating the "Allow less secure apps" option by using a dedicated App Password. Cheers.