Which email provider do you prefer for sending messages?

Hey everyone! I’m curious about what you all use for sending emails in your projects. Are you sticking with the built-in SMTP stuff or do you go for something fancier like Mailgun or SendGrid? I’m working on adding two-factor auth to my app and need a reliable way to send those codes. What’s been working well for you? Any tips or things to watch out for? I’ve heard mixed things about deliverability with some services, so I’m hoping to get some real-world feedback before I commit to anything. Thanks in advance for sharing your experiences!

In my experience, Mailgun has been a reliable choice for sending transactional emails, including two-factor authentication codes. Their API is straightforward to integrate, and they offer excellent documentation. What I particularly appreciate is their robust analytics, which helps monitor delivery rates and troubleshoot any issues quickly.

One thing to keep in mind is to implement proper retry logic in your code. Even with a reliable service, network hiccups can occur. Also, consider implementing a fallback option, like SMS, for critical communications like 2FA codes.

Regarding deliverability, I’ve found that properly configuring SPF, DKIM, and DMARC records significantly improves inbox placement. Mailgun provides clear guidance on setting these up.

Ultimately, the choice depends on your specific needs and scale, but Mailgun has served me well for similar use cases.

i’ve been using gmail for my project. it’s free and works well enough for sending auth codes. just make sure to enable 2-step verification and use an app password. deliverability has been good so far. no fancy features but gets the job done for small scale stuff

I’ve been using SendGrid for a few years now and it’s been rock-solid for our authentication emails and newsletters. The API is straightforward, and their documentation is top-notch. We had some initial hiccups with spam filters, but after tweaking our content and following their best practices, our deliverability improved significantly.

One thing to watch out for is rate limiting. We hit that wall during a big user import and it caused some headaches. Now we stagger our sends for large batches.

For two-factor auth specifically, we’ve found that keeping the messages short and to the point helps with quick delivery. Also, make sure you’re using a dedicated IP if you’re sending a high volume of emails.

Honestly, the peace of mind knowing that a team of experts is handling the email infrastructure has been worth every penny for us. It’s one less thing to worry about when scaling our app.