Preview: all-default-options.php
Size: 1.65 KB
/home/jambtst2015/public_html/protected/extensions/yii-multimailer/Examples/all-default-options.php
<?php
/**
* @author Pawel Bizley Brzozowski
* @version 1.0
*
* MultiMailer list of all default configuration options here so you can see
* what is unnecessary to set.
*/
/**
* -----------------------------------------------------------------------------
* Configuration:
* <Yii directory>/protected/config/main.php
* -----------------------------------------------------------------------------
*/
return array(
// ...
'components' => array(
// ...
'MultiMailer' => array(
'setMethod' => 'MAIL',
'setContentType' => 'html',
'setFromAddress' => '',
'setFromName' => '',
'setReplyAddress' => '',
'setReplyName' => '',
'setSameReply' => true,
'setLogging' => true,
'setDbModel' => '',
'setDbModelColumns' => array(
'email' => 'email',
'name' => 'name',
'subject' => 'subject',
'body' => 'body',
'alt' => 'alt',
),
'setExternalExceptions' => true,
'setOptions' => array(
'CharSet' => 'UTF-8',
'SMTPDebug' => 0,
'Debugoutput' => 'html',
'Host' => 'mail.example.com',
'Port' => 25,
'SMTPAuth' => true,
'Username' => 'yourname@example.com',
'Password' => 'yourpassword',
),
),
// ...
),
// ...
);
Directory Contents
Dirs: 0 × Files: 5