I can't setup email account

I filled all data using the official docs and Yahoo docs.

But when I click Save it shows this error.

There’s no error logs either!

Please help

Hi,

I’m not sure, try following this if you are using IMAP. Or uncheck IMAP and see if the message appears.

Tried it again but it says Invalid Outgoing Mail Server or Port

Here are my options:

I already allowed that port in my firewall settings, along with 465 and 995.

A simple test can be done with telnet. In a terminal try:

telnet smtp.mail.yahoo.com 465

see if it connects. This may be helpful as well: https://www.stevenrombauts.be/2018/12/test-smtp-with-telnet-or-openssl/

$ telnet smtp.mail.yahoo.com 465
Trying 87.248.103.12...
Connected to smtp.mail.global.gm0.yahoodns.net.
Escape character is '^]'.

And when tried port 587:

$ telnet smtp.mail.yahoo.com 587
Trying 87.248.103.12...
Connected to smtp.mail.global.gm0.yahoodns.net.
Escape character is '^]'.
220 smtp.mail.yahoo.com ESMTP ready

But even 587 gives the same error in ERPNext app !