2

I am developing social service in Drupal. There is need to send notifications to registered users.

Which option would be the easiest to integrate Drupal with and to send notifications to users?

  • Amazon SES,
  • Google App Engine,
  • third party provider (like Sendgrid/PostageApp/CritSend)

SES/GAE are clear winners from business point of view.

This question is about which option would be the easiest to integrate with PHP code and which would provide least headache.

Please note that third party providers are not that easy to maintain, as they might drop emails without right MTA relay (unfortunately I experienced that problem with Sendgrid and another PHP service).

hakre
  • 193,403
  • 52
  • 435
  • 836
nrph
  • 335
  • 7
  • 18
  • Is the standard way of sending them from your server's local SMTP server out of the question? – Pekka Jan 29 '11 at 01:27
  • Oh and.... maybe better suited on `webmasters.stackexchange.com` (SCNR) – Pekka Jan 29 '11 at 01:31
  • Well, do you know how to stick the ones from above with SMTP, except the third option? I'm not. – nrph Jan 29 '11 at 01:31
  • @nrph why do you need a third party provider in the first place? – Pekka Jan 29 '11 at 01:50
  • @Pekka - because of that: http://stackoverflow.com/questions/4532211/experiences-in-mailing-to-registered-users#4532265 – nrph Jan 29 '11 at 01:54
  • 1
    @nrph fair points. But remember that @andre is talking about really massive amounts of mail. You might still be able to use a local service at first, at least initially - you would have to talk to your provider about the points mentioned in @andre's excellent list, though (Edit: I just saw that you mention 50,000 mails/month - okay, that is indeed probably best done using a 3rd party provider.) – Pekka Jan 29 '11 at 01:58

4 Answers4

1

I would recommend you to use SwiftMailer, a PHP library that can easily send mails via any SMTP server, SendGrid will provide you with an SMTP server that you can use I believe.

Seldaek
  • 40,986
  • 9
  • 97
  • 77
0

in my opinion app engine(python). only a couple lines of code to create webservice to send out e-mail in python.

you just do simple post from cURL via PHP to sent email. easy as pie. Maybe later I will post a little snippet to achieve this :P.

Alfred
  • 60,935
  • 33
  • 147
  • 186
  • @Marb B wise-ass :). you could write a simple rest interface. Then simply connect to it via cURL. Then have you scaling e-mail instead of that piece of crap software Drupal. – Alfred Jan 29 '11 at 21:06
  • Drupal is NOT a piece of crap software. I'm really dissapointed by your judgement. – nrph Feb 06 '11 at 10:43
  • http://talks.php.net/show/drupal08/32 => 51.37 transactions is per second is NOT good if you ask me. – Alfred Feb 06 '11 at 19:09
0

These days, handling email in house is a royal PITA. I recommend mailchimp instead.

chx
  • 11,270
  • 7
  • 55
  • 129
  • Also note http://stackoverflow.com/questions/3905734/how-to-send-100-000-emails-weekly – chx Jan 29 '11 at 07:10
0

Just want to throw PostageApp's hat into the ring. We've got some documentation on integration with PHP and our API is one of the cleanest and easiest to use around.

We're also exploring an integration with Amazon SES to capitalize on their great prices (And the free option!) so you might be able to use both? Happy to answer questions should you have any.

JonLim
  • 1,393
  • 2
  • 14
  • 23