Page 1 of 1

how to stop user from posting too many

Posted: Mon May 29, 2006 11:34 am
by rami
i have made a referal system where user sign up and refer the site to his/her friend.The higest referrer at the end of month gets prize.
My problem is as my web space provider says no more than 100 mails per hour
i want to stop users from emailing too many...
i am worried that my web add may be banned
so what should i do

should i drop that referrer plan...
as each user is registered user with id
should i control them ok sent 1 mail per hour
i have filedcalled referedon(datetime)
if curdate()-referedon<1
try after some time

or what can be better option
even if i do so in long some people will try to expolit the system seeing the progress of site

ok whats to ideal plan
in most ip its 100 mails per hour how they handle it
i have e cards system running as well
so i am worried
any idea
thanks

Posted: Mon May 29, 2006 11:49 am
by hawleyjr
Sorry, I couldn't stand that whole post being bold. Removed your bold tags.


Edit: Also, Moved to Theory and Design.

Posted: Mon May 29, 2006 11:55 am
by rami
hawleyjr wrote:Sorry, I couldn't stand that whole post being bold. Removed your bold tags.
Edit: Also, Moved to Theory and Design.
? is answer
sorry but is this things written with out PHP CODE
never mind
what i need is answer

Posted: Mon May 29, 2006 12:01 pm
by santosj
Why don't you just send out 100 batch emails one hour, then wait another hour and send the next 100 mails, and so on. I would talk to your web host and see if you can work something out. My host (I believe) allows me to send out 10000 a day or an hour, I really will never send out that many at this point of time.

The reason why is because the host wants to make sure you're not sending spam. I'm sure that if the host is reasonable, and you explain what the site is about, that they will up the amount. If not, then you'll have to use this method and hope to your god that you don't get enough traffic to where you'll never be able to send out all of the emails.


EDIT

I'm sorry, is English your second language?

Posted: Mon May 29, 2006 12:04 pm
by hawleyjr
rami wrote:
hawleyjr wrote:Sorry, I couldn't stand that whole post being bold. Removed your bold tags.
Edit: Also, Moved to Theory and Design.
? is answer
sorry but is this things written with out PHP CODE
never mind
what i need is answer
:roll: :roll:

Don't send all emails at once. Create a queue of emails and send them on a cron job to stay under your 100 email/hour limit.

Posted: Mon May 29, 2006 3:18 pm
by Chris Corbyn
Did you post this on Sitepoint too? :P

http://www.sitepoint.com/forums/showthread.php?t=386325

Have you tried using a mailer script like PHPMailer or Swift to do this rather than using mail() ? At least then you can avoid using your host's SMTP/sendmail .

Posted: Mon May 29, 2006 3:30 pm
by Roja
1. Batch 99 emails, send on the hour, and no more
2. Don't send emails on users behalf - make THEM send them. Thats the way email is supposed to work anyway.
3. Don't reward referrers, reward new members. Only give the bonus to people that stay active for at least a week.

Posted: Mon May 29, 2006 8:22 pm
by rami
d11wtq wrote:Did you post this on Sitepoint too? :P

http://www.sitepoint.com/forums/showthread.php?t=386325

Have you tried using a mailer script like PHPMailer or Swift to do this rather than using mail() ? At least then you can avoid using your host's SMTP/sendmail .
i think there isn't any rule that i can post question is two forums

and about answer will using php mailer make me able to send more than 100 mails in a hours
i have phpmailer scrpt
should i use it

thanks for other answer

if i send 99 mails per hour that alo will be counted as spam i think

what do u mean by "dont send email on user behalf let them do it ..."

how?

the idea currently in mind is may be dont send initially and later send it manually later
how is that

Posted: Mon May 29, 2006 8:33 pm
by Roja
rami wrote:i think there isn't any rule that i can post question is two forums
There isn't, but its generally considered bad form to post on a second forum before anyone has a chance to answer on the other.
rami wrote:and about answer will using php mailer make me able to send more than 100 mails in a hours i have phpmailer scrpt should i use it
It can help - its a useful script. But if its 100 mails monitored on the smtp server, it wont make any difference (since it still uses smtp).
rami wrote:if i send 99 mails per hour that alo will be counted as spam i think
You specifically said "100 per hour", and asked for the solution. :) If you don't want to be counted as spam, then you shouldnt be sending emails, on behalf of other users, that the recipient didn't ask for.

Thats pretty darned close to the definition of spam!
rami wrote:what do u mean by "dont send email on user behalf let them do it ..."

how?
Don't send the email. Have the user send them an email. ie, make a mailto: link, and in the link, include an url which contains the activation code. That way the user sends the email - not you.
rami wrote:the idea currently in mind is may be dont send initially and later send it manually later how is that
Thats just queueing mail, and if you get more than 100 an hour for 24 hours... You'll still be over 100 per hour.

Posted: Mon May 29, 2006 9:36 pm
by rami
Roja wrote: There isn't, but its generally considered bad form to post on a second forum before anyone has a chance to answer on the other.
well may be for the better answer i tried two forums..and the service thier is some what faster and usually relevent if people reply
any way here are also good but some time no replies for long time and only dont post here there and so on....
any way never mind

Roja wrote: Thats pretty darned close to the definition of spam!
ok i am not worried about spam but i am worried about ban i ad my web in magzine and all if next day my web is ban all my investment will be drowned so...
i am not clear ok i can convince webspace provider but they say its not them who have problem well the service like hotmail,yahoo will ban thier ip so they say no more than 100 mails per hours
ok they dont have problem with thier mail server being busy...

whats is truth?
Roja wrote: Don't send the email. Have the user send them an email. ie, make a mailto: link, and in the link, include an url which contains the activation code. That way the user sends the email - not you.
that way it will be just referaal system no prizes and all very less people will be ready to do that much effort open outlook type...
people need diff kind of motivation
what i feel
Roja wrote: Thats just queueing mail, and if you get more than 100 an hour for 24 hours... You'll still be over 100 per hour
That way may be there will not be too many mails in a time..i can evenly distribute the load
what i think
the disadvantage of that is may be i need a man power who needs to be online and monitor it

in another forum people said that i would be better to use third patry service ..i think that will make website unprofessional but i have to so are there any such service for my needs
people signs up logs in refer(referredby gets in database) ...a link with activation link is send to people and when the people check that person (referrer) gets a point
are there any such service