diff options
Diffstat (limited to 'system/config/email.php')
-rw-r--r-- | system/config/email.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/system/config/email.php b/system/config/email.php new file mode 100644 index 00000000..c768367c --- /dev/null +++ b/system/config/email.php @@ -0,0 +1,22 @@ +<?php defined('SYSPATH') OR die('No direct access allowed.'); +/** + * SwiftMailer driver, used with the email helper. + * + * @see http://www.swiftmailer.org/wikidocs/v3/connections/nativemail + * @see http://www.swiftmailer.org/wikidocs/v3/connections/sendmail + * @see http://www.swiftmailer.org/wikidocs/v3/connections/smtp + * + * Valid drivers are: native, sendmail, smtp + */ +$config['driver'] = 'native'; + +/** + * To use secure connections with SMTP, set "port" to 465 instead of 25. + * To enable TLS, set "encryption" to "tls". + * + * Driver options: + * @param null native: no options + * @param string sendmail: executable path, with -bs or equivalent attached + * @param array smtp: hostname, (username), (password), (port), (auth), (encryption) + */ +$config['options'] = NULL; |