I’m on a server that requires the errrors-to header to be set when using PHP mail() function. Popular applications such as WordPress don’t specify this header (at least not everywhere) – so the email isn’t sent (instead I’m sent a message saying there was an error sending the email because it lacked the header). The server host says this is not something they can change for the system. I do not have access to the .ini file. Is there something I can do about it?
Share
yes, by setting the mail-header you need with the normal mail()-function:
In wordpress, you can overload the wp_mail()-function to include that header.