Failed To Send Mail From Yii...

0 down vote favorite

In my sitecontroller.php

I have this method:

public function actionContact()

This has to send a mail to adminmail.


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:

Post codes here not on pasted bin!