• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 890
  • Last Modified:

How can i send email to 50,000 customers on one shot?

Hi

I want to send email to 50,000 members in one shots by using PHP.
Could you please let me know how can this possible?

Is there any other alternative then please suggest.

Thank You


0
Gurbirs
Asked:
Gurbirs
1 Solution
 
kerwinsiyCommented:
i would suggest you to create a console application. that would execute a batch sending of email.
0
 
jar3817Commented:
Like kerwinsiy said, do it from the console. PHP is not designed for such a task and will most likely time-out before all the email is sent.

I'd either do it via a shell script or create a distribution list on whatever email server you're using and use php to send to that 1 address and let the smtp server do all the work translating that into the 50 recipients and sending.
0
 
edster9999Commented:
make sure :

1. you send it to either each person separately or you use BCC not TO otherwise everyone will see everyones email address and this really annoys people.

2. make sure you have permission to mail these people.  Some countries now use 'opt in' and the person has to agree to receive the emails.  

If you are sure you want to use php (why ?  Its like using a motor cycle to get from your kitchen to your bedroom in the same house)
then you will need to do it in multiple runs.  Have a list of email addresses and call the php file.  Run on a certain number of addresses maybe 30.  Email those people and then call the same page with a paramter like 'count=30' and then start processing the list at item 31.
0
 
GurbirsAuthor Commented:
PHP is not compulsory, If you will suggest some better way then I will try to do in that way.
 
The main problem is with mail server. Mail server can not allow to send email to 50,000 persons in one shots.

But I want to send email to all members at same time.

So please suggest best solution what I need to do?

   
0
 
edster9999Commented:
Email servers often do not let you send to that many people to stop spam.

First get the info on how many you can send.  
Is there a limit on the number per email ?
Is there a limit per hour ?  per day ?

Then batch your emails to fit into this.

If you are restricted too much by the mail server then sign up with a different mail server or talk to a mail shot company that will email this out for you to your list (at a cost).

Oh and please make sure all these people want your email.  The restrictions on emails have been put in for a reason.  lets stop SPAM.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now