Ticket #576: email.diff

File email.diff, 0.7 kB (added by Nodren, 8 months ago)

system/helpers/email.php

  • system/helpers/email.php

     
    4141                                $connection = new Swift_Connection_SMTP 
    4242                                ( 
    4343                                        $config['options']['hostname'], 
    44                                         empty($config['options']['port']) ? 25 : (int) $config['options']['port'] 
     44                                        empty($config['options']['port']) ? 25 : (int) $config['options']['port'], 
     45                                        empty($config['options']['encrypt']) ? 8 : $config['options']['encrypt'] 
    4546                                ); 
    4647 
    4748                                // Do authentication, if part of the DSN 
     
    119120                return self::$mail->send($message, $to, $from); 
    120121        }