Yii Email extension

This is an email extension for yii its pretty straightforward, you add the extension, configure it in main.php and use it in your controller.

Step 1 – Add the extension

  1. download from Yii Mail
  2. extract yii-mail to your extensions folder

Step 2 – Configure Yii Mail

  • Only relevant parts of main.php are left
  • Add the extension to import array
  • Configure yii mail

Step 3 use it in controller


  • how to set the name of the sender in from section

Recent Posts

Recent Comments

Categories