Dynamic Display Name in MailFrom addresses in Email Communication Service

Aditi 20 Reputation points
2024-10-16T10:45:28.1433333+00:00

Can we use a dynamic display name & email address in the .setSenderAddress() method in the Email SDK of Azure Communications Service?

Is it mandatory to use the same display name and sender address, which are by default configured in the MailFrom addresses section in the Azure portal?

Azure Communication Services
{count} votes

Answer accepted by question author
  1. VenkateshDodda-MSFT 25,246 Reputation points Microsoft Employee Moderator
    2024-10-16T12:33:21.17+00:00

    @Aditi Thanks for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.

    From the information you provided, it seems that you have created an Azure managed domain in ECS, which has generated an email address in the format "******@domain.azurecommtest.net". Now, you want to personalize the sender address using .setSenderAddress() method in Java SDK to send emails.

    • If the above understand is correct. Currently, ECS does not support dynamic email, however, you can configure multiple mailFrom addresses under your domain and use one of those configured senders.
    • If you want to add multiple sender names for your domain, your quota should not be on the default limit. You need to raise a support ticket to increase the default limits.
    • Also, Sender usernames cannot be enabled for Azure Managed Domains or custom domains with default sending limits.

    More information here How to add and remove multiple email sender addresses. - An Azure Communication Services quick start guide. | Microsoft Learn

    Hope this helps, let me know if you have any further questions.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.