I have installed yii2 advanced template without any changes and deployed same on the server. But, when I create an account and reset password also it is not sending any mail to the user. I have checked several solutions on the internet but none of them are explaining the problem exactly. Some solutions are related to swiftmailer. But, I Don’t want to use that mailer. I want to use mail() on php how can I achieve this?