Mail Function

Hi,

I have not used any mail extensions of yii. I have used php mail function. But My mail function is not working on server and localhost

Please Help…

Thanks in advance

There is a swift mailer extension shipped with yii2. you can use that.