I'm working on a project that requires the ability to programmatically receive emails, similar to how I would do it with AWS SES and Lambda functions. In Azure, I've only come across the option of setting up a Microsoft 365 inbox and using a Logic App to periodically check for new emails. This doesn't work for me long-term since I need to handle all emails sent to a certain domain, not just those linked to specific mailboxes I control. Is there a native Azure solution available for this, or am I out of luck?
4 Answers
Have you thought about using SendGrid? It's a solid option for inbound email parsing, which might work for your needs. But if you're already planning to mix services, going with AWS SES for the email and having it trigger an Azure API sounds like a viable plan too.
From what I see, using a shared mailbox and Logic Apps is still the standard approach. Azure Communication Services lacks mailbox features right now, but you might find value in looking into SendGrid's Inbound Parse.
Unfortunately, there's no direct equivalent in Azure to AWS SES's email handling capabilities. Your current method with Microsoft 365 and Logic Apps is common but can be inefficient for large-scale needs. If you want to stay within Azure, you might consider setting up some Exchange Online mail rules to centralize incoming mail and process it through Logic Apps or Graph API. Otherwise, using services like SendGrid or Mailgun may be necessary for better scalability.
You could potentially use Event Grid along with Azure Communication Services to achieve your goal of receiving email events. I read about some testing with them, and combining Event Grid with Logic Apps seems promising. It might take some experimentation, but it could be a way to handle your requirements.
Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically