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]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to