Re: logging of mail() function?

From: Date: Sun, 03 Aug 2003 21:44:42 +0000
Subject: Re: logging of mail() function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158094@lists.php.net to get a copy of this message
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?
Not directly, unless your SMTP server is keeping a log. Write your own wrapper function my_mail() that does the logging and also sends the mail. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com

« previous php.general (#158094) next »