Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending mass mail without going insane (SendGrid? cloud?) [closed]

I need to send regular newsletters, as well as smaller batches, to a 10k strong mailing list, programmatically.

We're currently exporting our list and then using Campaign Monitor's web interface to create and send the newsletters. Campaign Monitor is great, but it is simply too expensive. Sending just one email to the entire list costs us $105, sending smaller batches is even more expensive as they charge 'per campaign'.

I have two requirements:

  1. I don't want to worry about bouncing, domain keys, black lists, ISPs, or any of that bs.
  2. I want a solution that is as cheap as possible.

My best bet seems to be using SendGrid (or something else?). It seems that they give you an SMTP server and they worry about all the crap in requirement 1. How does one actually use that to send email programmatically? Loop through the list and mail()? Seems like thats not very efficient. If you have experience with SendGrid, please share. This still isn't terribly cheap -- $80/mo -- but better than CM.

Alternatively, should I start looking at 'the cloud' as a solution. It would be cheaper it seems -- at least I'd be paying for what I'm using, but is it the same as rolling your own? Would I have to worry about the crap in requirement 1?

Or am I totally missing some other simpler solution? I really need help visualizing my options.

like image 952
Nick Zalutskiy Avatar asked Jun 24 '10 19:06

Nick Zalutskiy


People also ask

How do I send a batch email in SendGrid?

The most straightforward way to send bulk emails is to have an array of addresses in the to field, and then call sendMultiple with a single message object. Copy this code into index. js and replace the emails in the to array with your email addresses. const sgMail = require('@sendgrid/mail'); sgMail.

How many emails can be sent at once in SendGrid?

Currently, you may make up to 10,000 requests per second to our endpoint. Each email you send may include up to 1000 recipients.

How can I send a million emails?

So to send 1 million (or also 1000, or 10.000, or no matter how many) good emails you need first of all a reliable, effective bulk email service or software able to manage a wide list. But you also need a professional SMTP provider like turboSMTP, in order to ensure the highest delivery rate of your emails.

What is SendGrid good for?

SendGrid is a cloud-based SMTP provider that allows you to send email without having to maintain email servers. SendGrid manages all of the technical details, from scaling the infrastructure to ISP outreach and reputation monitoring to whitelist services and real time analytics.


2 Answers

I think GAE might be worth trying for your use case. It certainly should be cheaper than CM, and might be cheaper than SendGrid depending on how many recipients you e-mail.

Your volume of e-mails easily fits within GAE's limits. GAE allows e-mail to be sent to 2,000 recipients for free each day. Since you are willing to pay, you can send mail to up to 7,400,000 recipients per day. (Quota details)

If you go over the daily free quota of 2,000 recipients, you would have to pay $0.0001 per recipient.

This means you could e-mail about 860,000 recipients for $80/month (that works out to 28,666 per day [including 2,000 for free per day]). If you are e-mailing fewer people, then GAE may be cheaper than SendGrid. If you plan to e-mail more, then GAE will be more expensive.

Another advantage: with GAE, you may not have to worry as much about batching e-mails since GAE only charges per recipient.

Disadvantage of GAE: GAE also bills for other resources like CPU, bandwidth, etc. Depending on how you send e-mails and their content, you may or may not require more resources than GAE provides for free. You'll have to try it out to determine whether this will be an issue or not.

like image 58
David Underhill Avatar answered Sep 23 '22 12:09

David Underhill


For the record, today (Jan 25, 2011) Amazon started to offer an email service (Amazon Simple Email Service http://aws.amazon.com/ses/). Email messages are charged at $0.10 per thousand.

like image 27
realbot Avatar answered Sep 23 '22 12:09

realbot