Skip to content

Commit 519b9d7

Browse files
author
Yogesh Mohanraj
committed
Imporve clarity
1 parent 87cfeba commit 519b9d7

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
1717
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
1818
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready to send emails.
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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
19+
- We are 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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2020

2121
## Install the required packages
2222

@@ -32,7 +32,7 @@ Add the following dependency to your `pom.xml`.
3232

3333
## Initialize the management client
3434

35-
Set the environment variable `AZURE_SUBSCRIPTION_ID` with the subscription id of the subscription your Domain and Email resources are in. Run the code sample below to initialize the management client.
35+
Set the environment variable `AZURE_SUBSCRIPTION_ID` with the subscription ID of the subscription your Domain and Email resources are in. Run the code sample to initialize the management client.
3636

3737
```java
3838
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
@@ -45,13 +45,13 @@ CommunicationManager manager = CommunicationManager
4545

4646
## Add sender usernames
4747

48-
When a Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
48+
When an Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
4949

50-
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add additional sender usenames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
50+
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add extra sender usernames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
5151

52-
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.
52+
Update the code sample 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 is `<your-email-service-name>/<your-domain-name>`. The resource group name can be found in the Essentials sections in the domain resource overview.
5353

54-
To add multiple sender usernames, you will need to repeat this code sample multiple times.
54+
To add multiple sender usernames, you need to repeat this code sample multiple times.
5555

5656
```java
5757
String resourceGroupName = "<your-resource-group-name>";
@@ -69,7 +69,7 @@ manager
6969

7070
## Remove sender usernames
7171

72-
To delete the sender username, simply call the deleteWithResponse function on the client.
72+
To delete the sender username, call the deleteWithResponse function on the client.
7373

7474
```java
7575
manager

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
1717
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
1818
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready to send emails.
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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
19+
- We are 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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2020

2121
## Install the required packages
2222

@@ -27,7 +27,7 @@ npm install @azure/identity
2727

2828
## Initialize the management client
2929

30-
Replace the field in the sample code below with the subscription id of the subscription your Domain and Email resources are in. Run the code sample below to initialize the management client.
30+
Replace the field in the sample code with the subscription ID of the subscription your Domain and Email resources are in. Run the code sample to initialize the management client.
3131

3232
```javascript
3333
const { CommunicationServiceManagementClient } = require("@azure/arm-communication");
@@ -41,13 +41,13 @@ mgmtClient = new CommunicationServiceManagementClient(credential, subscriptionId
4141

4242
## Add sender usernames
4343

44-
When a Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
44+
When an Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
4545

46-
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add additional sender usenames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
46+
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add extra sender usernames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
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. 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.
48+
Update the code sample 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 is `<your-email-service-name>/<your-domain-name>`. The resource group name can be found in the Essentials sections in the domain resource overview.
4949

50-
To add multiple sender usernames, you will need to repeat this code sample multiple times.
50+
To add multiple sender usernames, you need to repeat this code sample multiple times.
5151

5252
```javascript
5353
const resourceGroupName = "<your-resource-group-name>";
@@ -70,7 +70,7 @@ await mgmtClient.senderUsernames.createOrUpdate(
7070

7171
## Remove sender usernames
7272

73-
To delete the sender username, simply call the delete function on the client.
73+
To delete the sender username, call the delete function on the client.
7474

7575
```javascript
7676
await mgmtClient.senderUsernames.delete(

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
1717
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
1818
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready to send emails.
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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
19+
- We are 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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2020

2121
## Install the required packages
2222

@@ -26,7 +26,7 @@ dotnet add package Azure.ResourceManager.Communication
2626

2727
## Initialize the management client
2828

29-
Set the environment variable `AZURE_SUBSCRIPTION_ID` with the subscription id of the subscription your Domain and Email resources are in. Run the code sample below to initialize the management client.
29+
Set the environment variable `AZURE_SUBSCRIPTION_ID` with the subscription id of the subscription your Domain and Email resources are in. Run the code sample to initialize the management client.
3030

3131
```csharp
3232
using System;
@@ -42,13 +42,13 @@ ArmClient client = new ArmClient(new DefaultAzureCredential());
4242

4343
## Add sender usernames
4444

45-
When a Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
45+
When an Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
4646

47-
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add additional sender usenames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
47+
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add extra sender usernames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
4848

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.
49+
Update the code sample 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 is `<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.
5050

51-
To add multiple sender usernames, you will need to repeat this code sample multiple times.
51+
To add multiple sender usernames, you need to repeat this code sample multiple times.
5252

5353
```csharp
5454
string subscriptionId = "<your-subscription-id>";
@@ -70,7 +70,7 @@ await senderUsernameResource.UpdateAsync(WaitUntil.Completed, data);
7070

7171
## Remove sender usernames
7272

73-
To delete the sender username, simply call the DeleteAsync function on the senderUsernameResource.
73+
To delete the sender username, call the DeleteAsync function on the senderUsernameResource.
7474

7575
```python
7676
await senderUsernameResource.DeleteAsync(WaitUntil.Completed);

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
1717
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
1818
- An [Azure Managed Domain](../add-azure-managed-domains.md) or [Custom Domain](../add-custom-verified-domains.md) provisioned and ready to send emails.
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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
19+
- We are 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 the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
2020

2121
## Install the required packages
2222

@@ -27,7 +27,7 @@ pip install azure-identity
2727

2828
## Initialize the management client
2929

30-
Replace the field in the sample code below with the subscription id of the subscription your Domain and Email resources are in. Run the code sample below to initialize the management client.
30+
Replace the field in the sample code with the subscription ID of the subscription your Domain and Email resources are in. Run the code sample to initialize the management client.
3131

3232
```python
3333
from azure.mgmt.communication import CommunicationServiceManagementClient
@@ -41,13 +41,13 @@ mgmt_client = CommunicationServiceManagementClient(credential, subscription_id)
4141

4242
## Add sender usernames
4343

44-
When a Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
44+
When an Azure Managed Domain resource is provisioned, the MailFrom address defaults to [email protected]. If you have configured a custom domain such as "notification.azurecommtest.net" the MailFrom address defaults to "[email protected]".
4545

46-
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add additional sender usenames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
46+
The username is the user alias that is used in the MailFrom address. For example, the username in the MailFrom address `[email protected]` would be `contosoNewsAlerts`. You can add extra sender usernames, which can also be configured with a more user friendly display name. In our example, the display name is `Contoso News Alerts`.
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. 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.
48+
Update the code sample 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 is `<your-email-service-name>/<your-domain-name>`. The resource group name can be found in the Essentials sections in the domain resource overview.
4949

50-
To add multiple sender usernames, you will need to repeat this code sample multiple times.
50+
To add multiple sender usernames, you need to repeat this code sample multiple times.
5151

5252
```python
5353
resource_group_name = "<your-resource-group-name>"
@@ -70,7 +70,7 @@ mgmt_client.sender_usernames.create_or_update(
7070

7171
## Remove sender usernames
7272

73-
To delete the sender username, simply call the delete function on the client.
73+
To delete the sender username, call the delete function on the client.
7474

7575
```python
7676
mgmt_client.sender_usernames.delete(

0 commit comments

Comments
 (0)