Ticket #576: email.diff
| File email.diff, 0.7 kB (added by Nodren, 8 months ago) |
|---|
-
system/helpers/email.php
41 41 $connection = new Swift_Connection_SMTP 42 42 ( 43 43 $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'] 45 46 ); 46 47 47 48 // Do authentication, if part of the DSN … … 119 120 return self::$mail->send($message, $to, $from); 120 121 }
