-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not instantiate mail function" is not a helpful error message #1288
Comments
I can't tell. The only thing I have to go on is the boolean returned by the I strongly recommend (as do the docs) not using |
Problem description
"Could not instantiate mail function" is not a helpful error message. It seems to be a catch all for many different conditions (invalid parameters like not a valid mail address, problems locating sendmail, no permission to run sendmail, ...). sendmail is installed, so this error message tells me absolutely nothing except that some random thing is wrong. This is extremely frustrating. Therefore, please find a way to provide a better error message.
Code to reproduce
use php mailer example on a system e.g. without sendmail
Debug output
The text was updated successfully, but these errors were encountered: