0 down vote favorite
In my sitecontroller.php
I have this method:
public function actionContact()
This has to send a mail to adminmail.
mail(Yii::app()->params[‘adminEmail’],$subject,$model->body,$headers)
But, when i submit the views/contact.php form it’s not sending any mail to adminmail.
here,How can i send this mail from contact.php to my adminmail?
here is my models/ContactForm.php:
here is my Controllers/SiteController.php:
evstevemd
(Stefano Mtangoo)
2
Post codes here not on pasted bin!