new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
<?php namespace ZN\Email;
|
||||
/**
|
||||
* ZN PHP Web Framework
|
||||
*
|
||||
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
||||
*
|
||||
* @package ZN
|
||||
* @license MIT [http://opensource.org/licenses/MIT]
|
||||
* @author Ozan UYKUN [ozan@znframework.com]
|
||||
*/
|
||||
|
||||
/**
|
||||
* Default Configuration
|
||||
*
|
||||
* Enabled when the configuration file can not be accessed.
|
||||
*/
|
||||
class EmailDefaultConfiguration
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Email
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Contains settings related to Email library.
|
||||
|
|
||||
| driver: Email send drivers. [smtp, mail, send, pipe, imap]
|
||||
| smtp: Send settings via SMTP.
|
||||
| general: General e-mail settings.
|
||||
|
|
||||
*/
|
||||
|
||||
public $driver = 'smtp';
|
||||
public $smtp =
|
||||
[
|
||||
'host' => '',
|
||||
'user' => '',
|
||||
'password' => '',
|
||||
'port' => 587,
|
||||
'keepAlive' => false,
|
||||
'timeout' => 10,
|
||||
'encode' => '', # empty, tls, ssl
|
||||
'dsn' => false,
|
||||
'auth' => true
|
||||
];
|
||||
public $imap =
|
||||
[
|
||||
'host' => '',
|
||||
'user' => '',
|
||||
'password' => '',
|
||||
'port' => 993,
|
||||
'flags' => [],
|
||||
'mailbox' => 'INBOX'
|
||||
];
|
||||
public $general =
|
||||
[
|
||||
'senderMail' => '', # Default Sender E-mail Address.
|
||||
'senderName' => '', # Default Sender Name.
|
||||
'priority' => 3, # 1, 2, 3, 4, 5
|
||||
'charset' => 'UTF-8', # Charset Type
|
||||
'contentType' => 'html', # plain, html
|
||||
'multiPart' => 'mixed', # mixed, related, alternative
|
||||
'xMailer' => 'ZN',
|
||||
'encoding' => '8bit', # 8bit, 7bit
|
||||
'mimeVersion' => '1.0', # MIME Version
|
||||
'lf' => "\n", # For Mail Body
|
||||
'cr' => "\n", # For STMP Commands
|
||||
'mailPath' => '/usr/sbin/sendmail' # Default Mail Path
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user