I have the following:
error_log("big error!!", 1, my email address);
When the message is delivered it says "PHP error_log message" in the subject line.
Can someone show me how to customize the message subject?
I have the following:
error_log("big error!!", 1, my email address);
When the message is delivered it says "PHP error_log message" in the subject line.
Can someone show me how to customize the message subject?
Thank you niet-the-dark-absol!
I was able to generate this off of your recommendations on separating the headers.
I got a proper response and was able to change more than just the Subject or Reply-to or From address.
I'm posting this only because all I find is that you cannot change more than one header at a time, and this proves that wrong. (unless it is just an improvement of the PHP version that I'm using)
The fourth parameter of
error_log
allows you to specify custom headers, of whichSubject
is the subject of the email.