3 ms·
I was talking to the guys from mailgun.net recently, which provides a similar service to SendGrid, but also makes it easy to receive e-mail via webhooks. They t
by simonw 16y ago
I was talking to the guys from mailgun.net recently, which provides a similar service to SendGrid, but also makes it easy to receive e-mail via webhooks. They told me a ton of interesting things about how this stuff actually works.
Getting high deliverability is actually incredibly complicated. You need a dedicated IP address to send mail from, which you need to be whitelisted by the big ESPs (E-mail Service Providers). To get it whitelisted, you need to "warm it up" before you start using it properly. You need to be very careful about setting the right headers. You need reverse DNS configured correctly, you need SPF and DomainKeys set up, you need to make sure the IP/domain you are sending from hasn't previously been used for spam... and even after all that, you probably need to set up a relationship with AOL/Gmail/Yahoo etc to make sure your stuff gets through. You also need to watch for their bounce / rate limit notifications and dial back your sending rates to match.
There's a whole lot more to it than just setting up an SMTP server.
- swombat 16y agoAll of this apart from the relationships with ESPs is relatively easy to do if you're a competent sysadmin. As far as the ESPs are concerned, all of them appear to accept our emails just fine, except for Hotmail. We've largely given up on Hotmail, but then everyone who uses hotmail seems to be aware that it marks everything as spam and so they check their spam box as often as their inbox, from the looks of it. It's a nice convincing argument. It just hasn't borne out in practice for us. Email is critical to us, and it gets delivered just fine the vast majority of the time. We've had about 2 cases in 3 years where we needed to intervene manually to talk to some kind of ESP to get us unblocked, because they'd randomly decided to blacklist our IP. That's not worth $80/m.
- mike-cardwell 16y agoThe trouble with hotmail is they sometimes just blackhole what they classify to be spam, instead of filtering it into the Junk folder. It doesn't even bounce, it just disappears.
- idlewords 16y agoGmail does this as well. Our outbound mail to Gmail accounts was just disappearing until we fixed a reverse DNS record.
- mike-cardwell 16y agoReally? I've come across loads of people who have had the disappearing email problem with hotmail (including myself on a couple of systems), but this is the first time I've heared of anyone having it with Gmail.
- deleted 16y ago[deleted]
- dabeeeenster 16y agoIve seen this with Gmail as well, albeit with a poorly configured sender...
- mike-cardwell 16y agoI also think it's a good idea to get two separate IPs. One for signup/notification emails, and a separate one for marketting. People will report marketting emails as spam, even if they've signed up for it.
- moe 16y agoGetting high deliverability is actually incredibly complicated. Urban legend. You need a dedicated IP address to send mail from, which you need to be whitelisted by the big ESPs That is nonsense. Nobody reaches out to the ESPs to have their IPs "whitelisted" in advance. You reach out when, if and after you've been blacklisted, in order to get unlisted. To get it whitelisted, you need to "warm it up" before you start using it properly. Nonsense. You need to be very careful about setting the right headers. You need reverse DNS configured correctly, you need SPF and DomainKeys set up Yes, there's a few things to watch out for, but it's all pretty well documented nowadays and you only have to do it once. SPF is pretty easy with http://old.openspf.org/wizard.html http://old.openspf.org/wizard.html you need to make sure the IP/domain you are sending from hasn't previously been used for spam A quick check at a few of the largest blacklists (spamhaus et al) takes all of 5 minutes. Another 5 minutes that you have to spend exactly once. [..further marketing pitch for MTA SaaS snipped..] Well, to sum this up. It seems many people have a strong misconception of what SendGrid, MailGun and friends actually do. You don't magically get higher deliverability only because your mail is passing through them. They don't have mythical "whitelist" slots at the ESPs. They're not even on the radar of the ESPs. What you get from SendGrid et al is a (hopefully) properly configured MTA and DNS, to push your mail through. From there your outbound mail is suspect to all the usual blacklisting and scrutiny at the receiving endpoints. And that's all - no black magic at work here.
- robert_mygengo 16y ago>>> "You don't magically get higher deliverability only because your mail is passing through them. They don't have mythical "whitelist" slots at the ESPs. They're not even on the radar of the ESPs." That's absolutely right, you don't. But email deliverability turned from a massive mystery and headache for us, into a sure-fire deal, the day after we implemented SendGrid. We develop translation/localization related apps, not email apps. So for us that's cool :)
- moe 16y agoIf they're a good deal for you then there's no arguing with that. I didn't mean to say they have no value proposition at all; the API and stats they provide can sure be useful for some. All I was saying is that their raw deliverability is no different to running your own server. And your own server doesn't charge a few pennies per mail...