SwiftMailer

  • Download this mail extension here  http://www.yiiframework.com/extension/mail. Extract the files. Move the vendors folder to protected/components/vendors/ Move YiiMail.php and YiiMailMessage.php to protected/components/ Add on protected/config/main.php [php] ‘components’=>array( … ‘mail’ => array( ‘class’ => ‘YiiMail’, ‘transportType’ => ‘php’, ‘transportType’ => ‘smtp’, ‘transportOptions’=>array( ‘host’=>’ghazalitajuddin.com’, //’encryption’=>’tls’, ‘username’=>’***@ghazalitajuddin.com’, ‘password’=>’******’, ‘port’=>25, ), ‘logging’ => true, ‘dryRun’ => false ), … ), [/php]…

    Baca catatan