
@peter i tried to write a custom script (Swift mailer / cron jobs), with a queue to queue my emails ( http://squirrelshaterobots.com/programming/php/building-a-queue-server-in-ph...) . Its quite interesting. But i will have to go with @Adams suggestion (http://sendgrid.com/). Its quite affordable and faster. Thanks. On Mon, Jul 29, 2013 at 11:52 AM, Adam Nelson <adam@varud.com> wrote:
To Peter's point, the other thing to do is to make sure the SMTP and MySQL connections stay up for longer than one email sending (i.e. group by MX host and pipeline all the emails to that host at once, make sure that the MySQL connection is not torn down for each email).
You also need to warm up the IP, don't just turn on the firehose of 100 emails per second all of a sudden.
There is no need to rotate IPs unless you're in a bad block, which you should make sure doesn't happen (i.e. Amazon's ec2 IP space is 'bad' to many mail recipient servers).
Anyway, while this is edifying, there is no economic reason to do this since any scale of mailing has been figured out as a service and can be done better and more cheaply than can be accomplished via a custom setup.
Sendgrid is really good (http://sendgrid.com/).
--- Kili.io - OpenStack for Africa: https://angel.co/kili-io Musings: https://twitter.com/varud About Adam: https://www.linkedin.com/in/adamcnelson
On Mon, Jul 29, 2013 at 8:37 AM, Kelvin <kjayanoris@gmail.com> wrote:
It is not cheap, but if you want to send the emails from your own server, why don't you get this: http://www.interspire.com/emailmarketer/
Depending on how many emails you want to send, you also need to think of:
1. A dedicated server, correctly set up for bulk emailing 2. Some way of IP rotation so that your IP addresses do not get blacklisted 3. Some way of detecting blacklisted IPs and not using them anymore 4. Anti-Spam laws and how they could affect you (or your clients)
Kelvin
On Mon, Jul 29, 2013 at 8:23 AM, Peter Karunyu <pkarunyu@gmail.com>wrote:
@Muturi, I think what @Adam is implying is that you are better of using MailChimp or an equivalent service, since they have already taken care of the myriad issues surrounding bulk emailing, of which, as you mention, getting blocked for sending out too much emails from one server is one of them.
On the other hand, if you are in the mood of reinventing the wheel, then consider NOT sending all the emails in the same PHP loop, but instead consider the following:
1. sleep() between the sending of each email 2. A cron job which calls your PHP code which sends the emails, but LIMITs itself to a few emails per call. 3. I am 99.99% sure that there exists a PHP mailing spooling library which does exactly that way better, I can't remember the exact name though.
On Sun, Jul 28, 2013 at 8:45 PM, Adam Nelson <adam@varud.com> wrote:
Bulk emailing is already commoditized and you won't be able to do similar cost/quality to the existing SaaS vendors unless you make it your only businesss.
--- Kili.io - OpenStack for Africa: https://angel.co/kili-io Musings: https://twitter.com/varud About Adam: https://www.linkedin.com/in/adamcnelson
On Sun, Jul 28, 2013 at 6:19 PM, Pauline Kitheka < kithekapauline@gmail.com> wrote:
What do you mean by host guy blocking my site, why would the normal calls to a mail server not work in your scenario.
On Sunday, July 28, 2013, Ken Muturi wrote:
I want to write a bulk emailing app (PHP/MYSQL), am worried about server loads and host guy blocking my site ??
Which is the best/appropriate approach for writing this app.
-- Tech support www.kentechie.com
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Regards, Peter Karunyu -------------------
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke