Re: How can I count the usage of mail function in scripts?
| From: | Andy Pieters | Date: | Fri, 21 Oct 2005 08:55:23 +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-224390@lists.php.net to get a copy of this message | ||
Hi
While it *is* possible to do what you ask for, it would be worthless.
I can write from scratch a php script that
* looks up the mx record for a given email address
* connects to the mail server looked up
* send the message.
Since the SMTP protocol is fairly simple, I am sure many others can and will
use this to circumvent your limitations.
With kind regards
Andy
On Tuesday 18 October 2005 11:45, Cristea Adrian wrote:
> 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?
>
> thanks in advance!
>
> cheers, cajbecu
--
Now listening to Top! Radio Live www.topradio.be/stream on amaroK
Geek code: www.vlaamse-kern.com/geek
Registered Linux User No 379093
If life was for sale, what would be its price?
www.vlaamse-kern.com/sas/ for free php utilities
--
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]