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

Commit 46ed21d9 authored by cketti's avatar cketti
Browse files

Merge branch 'smtp_port_fix'

parents 620f56ce b91b86c6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -77,13 +77,13 @@ public class SmtpTransport extends Transport {
        String scheme = smtpUri.getScheme();
        if (scheme.equals("smtp")) {
            connectionSecurity = ConnectionSecurity.NONE;
            port = 25;
            port = 587;
        } 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;