Skip to content
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

Send email as unencrypted SMTP protocol #37

Open
kp2067 opened this issue Jun 22, 2022 · 2 comments
Open

Send email as unencrypted SMTP protocol #37

kp2067 opened this issue Jun 22, 2022 · 2 comments

Comments

@kp2067
Copy link

kp2067 commented Jun 22, 2022

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

@julianjohn
Copy link

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.

@julianjohn
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants