Newbie here. Please forgive any ignorance in my question.
I am working with some folks on their website (translation, I have been made their web person by default). The site is a WordPress installation. They have two pages which send emails to various admins (one for unsubscribing from their newsletter, one for “contact”). Until last week both forms worked fine. Then suddenly, one form stopped working.
The form which is not working does uses libmail_html.php, the still functioning page uses mail() directly within the page, not via libmail_html.php.
I tried bypassing libmail_html.php by copying and pasting the mail() code from the working page to the non-working page. The mail submissions still failed to arrive at their destination although mail() returned TRUE. As far as we can tell it is not a “spam filter” issue (on both pages destination emails are the same domain as the website), there are no PHP errors in the log which point to any failure of the PHP on the page in question. As far as I can tell, PHP believes it is sending the email but it simply isn’t going out. I am perplexed why one form works, one fails even when the mail() code from the functional page is dropped into the nonfunctional page.
What am I missing here?