PHP 8.1.33
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

Name Size Perms Modified Actions
1.65 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.92 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
1.63 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
1.87 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.13 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).