Logs for PHP form
Posted on 2013-06-18
I have a PHP form with a submit button which will be sent as email to firstname.lastname@example.org after click the submit button. I would like to have log or alert message whenever there is a mail problem or server down. Now when a customer submit the form and a message showed sending successful to her but in actual the mail was not reach into the email@example.com mailbox and we do not know where the mail has gone and we even do not know there is a failure of the form. How am I going to create an alert to myself or log in order to know the failure of the form?