Hi,
We are using sendmail on our centos 5.2 server.
We have a registered panel of more than 2,00,000 users. I need to send one email to all of them.
I have written a PHP script to send email one by one.
Do I need to take any special care? I have sorted all email ids by domain.
Please let me know.
Thanks,
Richard Correia
ZiZaTech.com
On Tue, May 12, 2009 at 4:46 PM, Richard Correia richard@florix.net wrote:
Hi,
We are using sendmail on our centos 5.2 server.
We have a registered panel of more than 2,00,000 users. I need to send one email to all of them.
I have written a PHP script to send email one by one.
Do I need to take any special care? I have sorted all email ids by domain.
Yes ! ask yourself whether you should.
-Akshay
Do I need to take any special care? I have sorted all email ids by domain.
use phpmailer class.
http://www.php.net/manual/en/function.mail.php
Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.
2009/5/12 Prashant Shah elite.mumbai@gmail.com:
Do I need to take any special care? I have sorted all email ids by domain.
use phpmailer class.
http://www.php.net/manual/en/function.mail.php
Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.
More than the script, Richard needs to worry about the mail server getting black listed.
Anurag
2009/5/12 Prashant Shah elite.mumbai@gmail.com: Do I need to take any special care? I have sorted all email ids by
domain.
use phpmailer class.
Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.
More than the script, Richard needs to worry about the mail server getting black listed.
Yes, my real worry is how can I avoid my SMTP server getting blacklisted by gmail, hotmail, yahoo servers.
Thanks, Richard Correia ZiZaTech.com
On Tuesday 12 May 2009 23:55:30 Dinesh A. Joshi wrote:
Richard Correia wrote:
Yes, my real worry is how can I avoid my SMTP server getting blacklisted by gmail, hotmail, yahoo servers.
As long as your email is well formatted and comes with a working unsubscribe link you dont need to worry about being blacklisted.
Heh.
Set the headers properly like mailman does in newsletter mode.
http://www.faqs.org/rfcs/rfc2369.html
Mrugesh
On Tue, May 12, 2009 at 02:25:30PM -0400, Dinesh A. Joshi wrote:
Richard Correia wrote:
Yes, my real worry is how can I avoid my SMTP server getting blacklisted by gmail, hotmail, yahoo servers.
As long as your email is well formatted and comes with a working unsubscribe link you dont need to worry about being blacklisted.
Wrong. ISPs look at volumes, and the feedback they get from their customers. Most of them won't even look at your content.
However, at this point, I would suggest using a third party service to send out your email instead of trying to do it yourself.
You don't have reputation, you will have massive volumes and you have no contacts with large ISPs. You WILL be blocked.
There's a few good services out there who do the right thing. Off the top of my head, I can think of ReturnPath and Constant Contact. I have no connections with either service, feel free to do your own research.
Devdas Bhagat
swiftmailer was a result of such requirements. It much more powerful than phpmailer and has the ability to check for bounced-back mails (http://swiftmailer.org/docs/failures-byreference) which you can then filter out for the second run.