Click here to Skip to main content
15,886,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Members,

I m using YII framework for the development of new application, I m new to this !.. I got struck in mail function.

Can anyone help me in this regard... following this I post my code for reference

Thanks in advance!...

PHP
'mail' => array(
    'class' => 'ext.yii-mail.YiiMail',
    'transportType' => 'smtp',
    'transportOptions' => array(
        'host' => 'smtp.gmail.com',
        'username' => 'XXXX@gmail.com',
        'password' => 'XXXX',
        'port' => '465',
        'encryption'=>'tls',
    ),
    'viewPath' => 'application.views.mail',
    'logging' => true,
    'dryRun' => false
),
Posted
Comments
[no name] 7-Oct-14 7:24am    
http://www.yiiframework.com/extension/mail/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900