I am using Mail() function to send Email from my website it is response me Error :
A
PHP Error was encountered
Severity: Warning
Message: mail() has been disabled for security reasons
Filename: controllers/MyMail_Controller.php
Line Number: 12
How to Send mail with mail() function of PHP
- 6 years ago
Hello
The message suggests your hosting provider has disabled the PHP "mail" function. You can contact your hosting provider to see if they can enable it, or consider using SMTP authentication in your mail script.
- 6 years ago
You can use PHPMailerClass. With that PHPMailer You will be able to send mails with that function disabled?
Hot Questions