Mail goes in spam folder

I got mail in gmail.but its in spam what to do?


that is a problem related to your mail server, not with php or Yii

search google and you will find out how to configure properly your server and the best pratices

Just a tip, using the smtp protocol to send it will decrease the change of it go to the spam folder

Thank you

Could you print a sample of what the emails look like?

Try and change the subject and the content to be more meaningful.

You’ll think of something.

Then try again. :)