Azure Communication Services as mail service in Umbraco and Umbraco Cloud

Has anyone tried to use Azure Communication Services as mail service in Umbraco and Umbraco Cloud? Checking the Umbraco documentation, I can’t find any details.

Related links: Send an email using SMTP - An Azure Communication Services quick start guide. | Microsoft Learn

Hi @NurhakKaya

No, I’ve not - but looking at the sample in the link you provided it looks like it just needs your SMTP configuration set correctly once you have followed the steps to create the necessary resource(s). The rest of the code sample is just using the SmtpClient from System.Net.Mail, although Umbraco uses MailKit, so there may be some small differences.

Justin

1 Like

If you’re looking to use the SDK rather than SMTP then you can replace the default IEmailSenderClient (BasicSmtpEmailSenderClient) with your own thin wrapper around the SDK.

Using an HTTP API is more resilient and less resource-intensive than SMTP so it’s always worth making the switch where you can.

1 Like