Skip to content

Commit 4188c29

Browse files
author
Yogesh Mohanraj
committed
Addressing PR feedback
1 parent a4a4a0e commit 4188c29

File tree

4 files changed

+44
-17
lines changed

4 files changed

+44
-17
lines changed

articles/communication-services/quickstarts/email/includes/add-multiple-senders-java.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ ms.custom: mode-other
1414
## Prerequisites
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17-
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../../quickstarts/email/create-email-communication-resource.md)
18-
- An [Azure Managed Domain](../../quickstarts/email/add-azure-managed-domains.md) or [Custom Domain](../../quickstarts/email/add-custom-verified-domains.md) provisioned and ready.
19-
- We will be using a [service principal for authentication](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
17+
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../create-email-communication-resource.md)
18+
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready.
19+
- We will be using a [service principal for authentication](../../../../active-directory/develop/howto-create-service-principal-portal.md). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2020

2121
## Install the required packages
2222

@@ -45,7 +45,14 @@ CommunicationManager manager = CommunicationManager
4545

4646
## Add sender usernames
4747

48-
Update the code sample below with the resource group name, the email service name, and the domain name that you would like to add this username to. To add multiple sender usernames, you will need to repeat this code sample multiple times.
48+
When Email Domain is provisioned to send mail, it has default MailFrom address as [email protected] or
49+
if you have configured custom domain such as "notification.azuremails.net" then the default MailFrom address as "[email protected]" added. You can configure and add additional MailFrom addresses and FROM display name to more user friendly value.
50+
51+
The username you are configuring is the user alias that will be used in your MailFrom address. For example, [email protected] would be the new MailFrom address.
52+
53+
Update the code sample below with the resource group name, the email service name, and the domain name that you would like to add this username to. This information can be found in portal by navigating to the domains resource you created when setting up the prerequisites. The title of the resource will be `<your-email-service-name>/<your-domain-name>`. The resource group name can be found in the Essentials sections in the domain resource Overview blade.
54+
55+
To add multiple sender usernames, you will need to repeat this code sample multiple times.
4956

5057
```java
5158
String resourceGroupName = "<your-resource-group-name>";

articles/communication-services/quickstarts/email/includes/add-multiple-senders-js.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ ms.custom: mode-other
1414
## Prerequisites
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17-
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../../quickstarts/email/create-email-communication-resource.md)
18-
- An [Azure Managed Domain](../../quickstarts/email/add-azure-managed-domains.md) or [Custom Domain](../../quickstarts/email/add-custom-verified-domains.md) provisioned and ready.
19-
- We will be using a [service principal for authentication](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_CLIENT_SECRET.
17+
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../create-email-communication-resource.md)
18+
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready.
19+
- We will be using a [service principal for authentication](../../../../active-directory/develop/howto-create-service-principal-portal.md). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2020

2121
## Install the required packages
2222

@@ -41,7 +41,14 @@ mgmtClient = new CommunicationServiceManagementClient(credential, subscriptionId
4141

4242
## Add sender usernames
4343

44-
You can define the username you want to add in a parameters object. Update the code sample below with the resource group name, the email service name, and the domain name that you would like to add this username to. To add multiple sender usernames, you will need to repeat this code sample multiple times.
44+
When Email Domain is provisioned to send mail, it has default MailFrom address as [email protected] or
45+
if you have configured custom domain such as "notification.azuremails.net" then the default MailFrom address as "[email protected]" added. You can configure and add additional MailFrom addresses and FROM display name to more user friendly value.
46+
47+
You can define the username you want to add in a parameters object. The username you are configuring is the user alias that will be used in your MailFrom address. For example, [email protected] would be the new MailFrom address.
48+
49+
Update the code sample below with the resource group name, the email service name, and the domain name that you would like to add this username to. This information can be found in portal by navigating to the domains resource you created when setting up the prerequisites. The title of the resource will be `<your-email-service-name>/<your-domain-name>`. The resource group name can be found in the Essentials sections in the domain resource Overview blade.
50+
51+
To add multiple sender usernames, you will need to repeat this code sample multiple times.
4552

4653
```javascript
4754
const resourceGroupName = "<your-resource-group-name>";

articles/communication-services/quickstarts/email/includes/add-multiple-senders-net.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ ms.custom: mode-other
1414
## Prerequisites
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17-
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../../quickstarts/email/create-email-communication-resource.md)
18-
- An [Azure Managed Domain](../../quickstarts/email/add-azure-managed-domains.md) or [Custom Domain](../../quickstarts/email/add-custom-verified-domains.md) provisioned and ready.
19-
- We will be using a [service principal for authentication](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_CLIENT_SECRET.
20-
17+
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../create-email-communication-resource.md)
18+
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready.
19+
- We will be using a [service principal for authentication](../../../../active-directory/develop/howto-create-service-principal-portal.md). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2120
## Install the required packages
2221

2322
```console
@@ -42,7 +41,14 @@ ArmClient client = new ArmClient(new DefaultAzureCredential());
4241

4342
## Add sender usernames
4443

45-
You can define the username you want to add in a SenderUsernameResourceData object. Update the code sample below with the subscription id, resource group name, the email service name, and the domain name that you would like to add this username to. To add multiple sender usernames, you will need to repeat this code sample multiple times.
44+
When Email Domain is provisioned to send mail, it has default MailFrom address as [email protected] or
45+
if you have configured custom domain such as "notification.azuremails.net" then the default MailFrom address as "[email protected]" added. You can configure and add additional MailFrom addresses and FROM display name to more user friendly value.
46+
47+
You can define the username you want to add in a SenderUsernameResourceData object. The username you are configuring is the user alias that will be used in your MailFrom address. For example, [email protected] would be the new MailFrom address.
48+
49+
Update the code sample below with the resource group name, the email service name, and the domain name that you would like to add this username to. This information can be found in portal by navigating to the domains resource you created when setting up the prerequisites. The title of the resource will be `<your-email-service-name>/<your-domain-name>`. The resource group name and subscription id can be found in the Essentials sections in the domain resource Overview blade.
50+
51+
To add multiple sender usernames, you will need to repeat this code sample multiple times.
4652

4753
```csharp
4854
string subscriptionId = "<your-subscription-id>";

articles/communication-services/quickstarts/email/includes/add-multiple-senders-python.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ ms.custom: mode-other
1414
## Prerequisites
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17-
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../../quickstarts/email/create-email-communication-resource.md)
18-
- An [Azure Managed Domain](../../quickstarts/email/add-azure-managed-domains.md) or [Custom Domain](../../quickstarts/email/add-custom-verified-domains.md) provisioned and ready.
19-
- We will be using a [service principal for authentication](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_CLIENT_SECRET.
17+
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../create-email-communication-resource.md)
18+
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready.
19+
- We will be using a [service principal for authentication](../../../../active-directory/develop/howto-create-service-principal-portal.md). Set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2020

2121
## Install the required packages
2222

@@ -41,7 +41,14 @@ mgmt_client = CommunicationServiceManagementClient(credential, subscription_id)
4141

4242
## Add sender usernames
4343

44-
You can define the username you want to add in a parameters object. Update the code sample below with the resource group name, the email service name, and the domain name that you would like to add this username to. To add multiple sender usernames, you will need to repeat this code sample multiple times.
44+
When Email Domain is provisioned to send mail, it has default MailFrom address as [email protected] or
45+
if you have configured custom domain such as "notification.azuremails.net" then the default MailFrom address as "[email protected]" added. You can configure and add additional MailFrom addresses and FROM display name to more user friendly value.
46+
47+
You can define the username you want to add in a parameters object. The username you are configuring is the user alias that will be used in your MailFrom address. For example, [email protected] would be the new MailFrom address.
48+
49+
Update the code sample below with the resource group name, the email service name, and the domain name that you would like to add this username to. This information can be found in portal by navigating to the domains resource you created when setting up the prerequisites. The title of the resource will be `<your-email-service-name>/<your-domain-name>`. The resource group name can be found in the Essentials sections in the domain resource Overview blade.
50+
51+
To add multiple sender usernames, you will need to repeat this code sample multiple times.
4552

4653
```python
4754
resource_group_name = "<your-resource-group-name>"

0 commit comments

Comments
 (0)