Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c1b3cbc authored by dzan's avatar dzan
Browse files

Change smtp+tls default port to 587.

parent 3d884a8f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -80,10 +80,10 @@ public class SmtpTransport extends Transport {
            port = 25;
        } else if (scheme.equals("smtp+tls")) {
            connectionSecurity = ConnectionSecurity.STARTTLS_OPTIONAL;
            port = 25;
            port = 587;
        } else if (scheme.equals("smtp+tls+")) {
            connectionSecurity = ConnectionSecurity.STARTTLS_REQUIRED;
            port = 25;
            port = 587;
        } else if (scheme.equals("smtp+ssl+")) {
            connectionSecurity = ConnectionSecurity.SSL_TLS_REQUIRED;
            port = 465;