jordenc / email-sender

Send emails with Homey
5 stars 6 forks source link

Email configuration for Telenet not working #12

Open dbuekenh opened 5 years ago

dbuekenh commented 5 years ago

When pressing the test email button i get the following error

"Error: Error: 1995668464:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827:\n"

dbuekenh commented 5 years ago

I login with username and password Port is 587 Secured connection is enabled

jordenc commented 5 years ago

Can you try with Secured connection disabled?

dbuekenh commented 5 years ago

if I don not enable the secured connection I need to use port 25

I get error: Error: Error: Invalid login: 500 5.5.1 command unrecognized

dbuekenh commented 5 years ago

But its recommanded by telenet to use the Authenticated SMTP with TSL

https://www2.telenet.be/nl/klantenservice/e-mails-versturen/

jordenc commented 5 years ago

Normally 587 is a non-SSL-port, which you use when port 25 is blocked.

Port 465 is the default SSL port. So for as far as I can think of, there are 2 options: 1- Use 587 with secured connection disabled 2- Use port 465 with secured enabled

Ofcourse it is possible that Telenet is not using these standardized settings, but I'm not sure how to solve this. With my own mails, both option 1 and 2 work.