Answer the question
In order to leave comments, you need to log in
Is it possible to determine if sending emails on the server (PHP) is working?
How to check if it is possible to send emails from the server or if this feature is disabled? Simply checking for the existence of the mail function is not good, because it can exist and the send won't work anyway. Or if the path to the sendmail is not empty, then everything works?
Answer the question
In order to leave comments, you need to log in
Just send a test email. There can be many different configurations, and you won’t know for sure except how to send a letter. Therefore, sending a test letter is usually available in the settings of services / systems that work with mail.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question