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?
error_log("Error message", 1, "[email protected]", "Subject: My custom subject");
The fourth parameter of error_log
allows you to specify custom headers, of which Subject
is the subject of the email.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With