Greetings!
I am trying to write a wrapper for sendmail that basically does the following:
1) write the file calling sendmail to a log.
2) write the headers of the email to a log.
3) write the first 20 or so lines to a log.
I have 2 and 3 complete, but I can't seem to find a way to get 1 accomplished. The file calling sendmail is a PHP script using the mail() function. Any ideas?
I am trying to write a wrapper for sendmail that basically does the following:
1) write the file calling sendmail to a log.
2) write the headers of the email to a log.
3) write the first 20 or so lines to a log.
I have 2 and 3 complete, but I can't seem to find a way to get 1 accomplished. The file calling sendmail is a PHP script using the mail() function. Any ideas?