Mail () function is disabled by default in most of secured shared web hosting servers. It is not the right methodology to send mails with mail() function in production servers. Mail() function might also cause in relaying spam mails from the server which lets server's IP address to get blacklisted . The alternate and the right way to send mails is to authenticate the SMTP mail server from the PHP code. You can use php mailer tool through which you can send mails by authenticating the SMTP server and send the mails with simple function calls.
Not at all
What could be better? (Optional)
Not related to my issue
Too complicated explanations
Too much information
Too old information
Do you have any other feedback about this faq ?