Re: logging of mail() function?
| From: | Jason Sheets | Date: | Mon, 04 Aug 2003 02:45:32 +0000 |
| Subject: | Re: logging of mail() function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158104@lists.php.net to get a copy of this message | ||
This is something you would probably do with your e-mail server, not with PHP. You can log all of the emails sent by your scripts by writing a wrapper around mail though. Basically check your SMTP daemon's documentation whether it be sendmail, qmail or something else and look for auditing or accounting.
Jason
RiGe wrote:
Is there possible to log outgoing mails sent via mail() function? I need to know, when, which script (can be path to php file on server) and receipt of mail that was sent. Is there possible? Thanx. RiGe