How to enable email functions on php?
mail() functions doesn't work on my website. How to enable it?
12-04-2020, Total 1 Ans
, 45 views
check_circle_outline BEST ANSWER
If you are using LINUX SERVER.
To send mail by PHP, you need to configure a SMTP server in php.ini. Then, mail() function will send SMTP request to that server, and then the server will send the mail. Therefore, it would not work if you just call mail() function on a linux server without SMTP service.