I have a script that uses PHP mail() function to send emails:
mail("[email protected]", "Subject", "Message");
Everything worked fine until yesterday. Now the mails either end up in a dead.letter file or just don't get sent.
What could be the reason for this? Any hints into how do I debug such code?