Project

General

Profile

Anomalie #1591 » check_port_for_SMTPSecure.patch

Baptiste Doré, 11/05/2021 11:03 AM

View differences:

galette/lib/Galette/Core/GaletteMail.php
163 163
                        );
164 164
                        $this->mail->Port = 25;
165 165
                    }
166

  
167
                    if($this->mail->Port == 465)
168
                        $this->mail->SMTPSecure = "ssl";
169

  
170
                    if($this->mail->Port == 587)
171
                        $this->mail->SMTPSecure = "tls";
172

  
166 173
                }
167 174

  
168 175
                // SMTP account username
    (1-1/1)