Removed dep on API
[ninja.git] / system / config / email.php
blobc768367c6d444aadea4315f7134dc119cf51a763
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3 * SwiftMailer driver, used with the email helper.
5 * @see http://www.swiftmailer.org/wikidocs/v3/connections/nativemail
6 * @see http://www.swiftmailer.org/wikidocs/v3/connections/sendmail
7 * @see http://www.swiftmailer.org/wikidocs/v3/connections/smtp
9 * Valid drivers are: native, sendmail, smtp
11 $config['driver'] = 'native';
13 /**
14 * To use secure connections with SMTP, set "port" to 465 instead of 25.
15 * To enable TLS, set "encryption" to "tls".
17 * Driver options:
18 * @param null native: no options
19 * @param string sendmail: executable path, with -bs or equivalent attached
20 * @param array smtp: hostname, (username), (password), (port), (auth), (encryption)
22 $config['options'] = NULL;