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
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
895 questions
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 21,736 Reputation points Microsoft Employee
    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 "donotreply@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 Answers by the question author, which helps users to know the answer solved the author's problem.