I have an existing php order system that uses php mail() to send out confirmation of orders.
The system has worked well for a few years now but we have a customer who is not receiving any emails. The emails aren't sitting in their spam/junk folder.
Is there a way that I can check to see the routing of the emails?
It is advisable to try to mention the condition that if error occurs [ mail() not sent successfully ] exception part has to executed so that you can easily fine the error and correct it .