Click to See Complete Forum and Search --> : email all site members


sakherq
12-06-2007, 09:34 AM
i built a simple forum
when any user register in the forum
he has to fill his email address as a required field
so i can contact members and notify them for any new event through email
i built this function send_email to serve in sending emails with out entering mail server access details once send email action is started by any page .

suppose i added new feature in the forum and i want to invite all members to see it by sending email to them once i click a button in my forum control panel.

i can write the needed scripts for this action .
but iam afraid sending too many emails in few moments will notify my mail server ( Google ) that this email is spam ,, and close the gate provided for me using SMTP Gmail through phpmailer .
the second issue will appear after i pass the first one is yahoo classifications for spam mails ,,most forum members use yahoo email, forum members now get emails from my web site in their inbox . iam afraid sending this large amount of emails in few moments change yahoo's idea about me and consider this email sender is an attacker and put my email in bulk folder in user's email accounts .

i don't know if i have to get afraid of these issues ,, maybe it wont happen ,, but i cannot do such thing before i make sure that Google wont block my SMTP gate and yahoo wont send my email to the bulk folder .

is there a way to prevent this when i want to invite site members to see new feature ?

can u guide me to such topics in the Internet ?
or provide keywords to start search about such topics .

what is the name of this process : sending large amount of emails in few seconds ?

sakherq
12-12-2007, 02:49 AM
it is something like newsletter
any one did it before ?

felgall
12-12-2007, 04:04 AM
The easiest way is to set up a CRON job that extracts say 50 email addresses and sends the email to them and then flags those email addresses as having been sent. The same job is set up to run say every 10 minutes and so the emails get sent out at a rate of 300 per hour until they have all been sent. As they are being sent in small blocks over an extended period you will not have then identified as spam based on volume sent.