I am having a problem with sending email with attachments in a php environment.
See attached. The php script called php_mail_wattach.php, I have used for some time with both the customer now having issues and for other clients. I found it on the web over a year ago.
The attached script called email_test.php is a script I built today specifically to try to solve the general issue.
The issue is that for any email address like email@example.com, any emails sent this way fail. But I can "manually" send an email with the same attachment to the same address & it gets received.
Also, if I send an email using this technique to myself (at a gmail address) & others, they receive it.
Until about 10 days ago, firstname.lastname@example.org DID receive emails sent like this. The site is hosted at GoDaddy.
How can I determine what is causing the problem?