METS BLOG

METS BLOG

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


One response to “Yii Email extension”

  1. from name says:

    how to set the name of the sender in from section

Leave a Reply

Your email address will not be published. Required fields are marked *