Re: How can I count the usage of mail function in scripts?

From: Date: Tue, 18 Oct 2005 16:08:31 +0000
Subject: Re: How can I count the usage of mail function in scripts?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-224279@lists.php.net to get a copy of this message
Cristea Adrian schrieb: > Hello peoples! > > short question: How can I count the usage of mail function in scripts? > > long description :D > > I have a webserver, and I want to limit the usage of mail function for > each host I have there.. Notice that i have a couple of hundrest of > virtual hosts (domains and subdomains) there, and i want to limit > them, let`s say.. 100 mails per day.. there is any solution to do > that? (i know there is, i saw that in a nwebhosting company) .. can > you guide me find this solution? This is not a PHP problem. The mail() function just uses the mail server of the system it is running on. There are several solutions to the problem. For exmaple: If you could configure your server so that the user's PHP scripts run under their user ID (chroot/CGI), you can use the normal mail quota system. And: No, I can't help you any further on this. OLLi ____________ Mal: "You only gotta scare him." Jayna: "Pain is scary..." [firefly]

« previous php.general (#224279) next »