Added Kohana Email Module
This commit is contained in:
29
includes/kohana/modules/email/config/email.php
Normal file
29
includes/kohana/modules/email/config/email.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php defined('SYSPATH') OR die('No direct access allowed.');
|
||||
return array(
|
||||
/**
|
||||
* SwiftMailer driver, used with the email module.
|
||||
*
|
||||
* Valid drivers are: native, sendmail, smtp
|
||||
*/
|
||||
'driver' => 'native',
|
||||
|
||||
/**
|
||||
* To use secure connections with SMTP, set "port" to 465 instead of 25.
|
||||
* To enable TLS, set "encryption" to "tls".
|
||||
*
|
||||
* Note for SMTP, 'auth' key no longer exists as it did in 2.3.x helper
|
||||
* Simply specifying a username and password is enough for all normal auth methods
|
||||
* as they are autodeteccted in Swiftmailer 4
|
||||
*
|
||||
* PopB4Smtp is not supported in this module as I had no way to test it but
|
||||
* SwiftMailer 4 does have a PopBeforeSMTP plugin so it shouldn't be hard to implement
|
||||
*
|
||||
* Encryption can be one of 'ssl' or 'tls' (both require non-default PHP extensions
|
||||
*
|
||||
* Driver options:
|
||||
* @param null native: no options
|
||||
* @param string sendmail: executable path, with -bs or equivalent attached
|
||||
* @param array smtp: hostname, (username), (password), (port), (encryption)
|
||||
*/
|
||||
'options' => NULL
|
||||
);
|
Reference in New Issue
Block a user