Nikolay
Nikolay

Reputation: 12235

Is it possible to use email name other than "DoNotReply" in Azure Email Communication Services?

I have configured email notifications using the Azure Communication Services. However, the emails are always sent from the "DoNotReply" user. Would it be possible to use something more meaningful for the users to understand/fitler the emails?

enter image description here


The portal only shows a single option, even with a custom domain:

enter image description here

I have tried changing "replyTo" (although no reply is obviously intended), but that did not help, outlook/gmail still showed the "DoNoReply" as sender. Can I somehow change the sender so that it looks nicer for the users?

The code I have tried with "replyTo" is below:

const client = new EmailClient(connectionString);

const emailMessage: EmailMessage = {
  senderAddress: "[email protected]",
  replyTo: [
    {
      address: "[email protected]",
      displayName: "Some Fancy Name"
    }
  ],
  content: {
    subject,
    html
  },
  recipients
};

Upvotes: 5

Views: 2946

Answers (2)

redaxe
redaxe

Reputation: 33

The ability to add new Mail From addresses (or change the default one) is currently disabled in the portal for accounts where the send limits are default values.

You need to raise a support request and ask for the email sending limits to be increased. Once this is granted then the system will allow you to add alternative Mail From addresses.

I went through this process recently.

Upvotes: 1

Gaurav Mantri
Gaurav Mantri

Reputation: 136126

It is certainly possible to do so. Please see the detailed instructions here: https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/add-multiple-senders.

Currently you can do so by following these steps in Azure portal:

  1. Go to your Email Communication Service.
  2. Click on "Domains" (left side menu) and then click on your domain.
  3. Click on "Provision Domains" (left side menu) and then click on the domain again.
  4. Click on "Mail From Address" (left side menu) and then click on "Add" button to add the desired email address.

You should also be able to do so by using one of the available SDKs for communication service.

Upvotes: 3

Related Questions