You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/add-multiple-senders-java.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ ms.custom: mode-other
14
14
## Prerequisites
15
15
16
16
- 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](../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`.
17
+
- An Azure Email Communication Services Resource ready to provision domains.[Get started creating an 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 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`.
20
20
21
21
## Install the required packages
22
22
@@ -32,7 +32,7 @@ Add the following dependency to your `pom.xml`.
32
32
33
33
## Initialize the management client
34
34
35
-
To initialize your client, intialize the environment variable `AZURE_SUBSCRIPTION_ID` with your subscription id before running the code sample.
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.
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.
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]".
50
49
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.
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`.
52
51
53
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.
54
53
@@ -89,7 +88,7 @@ manager
89
88
90
89
*[Get started by connecting Email Communication Service with a Azure Communication Service resource](../connect-email-communication-resource.md)
91
90
92
-
The following documents may be interesting to you:
91
+
The following documents may interest you:
93
92
94
93
- Familiarize yourself with the [Email client library](../../../concepts/email/sdk-features.md)
95
94
- How to send emails with custom verified domains?[Add custom domains](../add-custom-verified-domains.md)
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/add-multiple-senders-js.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ ms.custom: mode-other
14
14
## Prerequisites
15
15
16
16
- 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](../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`.
17
+
- An Azure Email Communication Services Resource ready to provision domains.[Get started creating an 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 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`.
20
20
21
21
## Install the required packages
22
22
@@ -27,7 +27,7 @@ npm install @azure/identity
27
27
28
28
## Initialize the management client
29
29
30
-
To initialize your client, replace the field in the sample code below with your subscription id.
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.
@@ -41,10 +41,9 @@ mgmtClient = new CommunicationServiceManagementClient(credential, subscriptionId
41
41
42
42
## Add sender usernames
43
43
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.
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]".
46
45
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.
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`.
48
47
49
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.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/add-multiple-senders-net.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,10 @@ ms.custom: mode-other
14
14
## Prerequisites
15
15
16
16
- 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](../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`.
17
+
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an 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 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`.
To initialize your client, intialize the environment variable `AZURE_SUBSCRIPTION_ID` with your subscription id before running the code sample.
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
30
30
31
```csharp
31
32
usingSystem;
@@ -41,10 +42,9 @@ ArmClient client = new ArmClient(new DefaultAzureCredential());
41
42
42
43
## Add sender usernames
43
44
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.
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]".
46
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.
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`.
48
48
49
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.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/add-multiple-senders-python.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ ms.custom: mode-other
14
14
## Prerequisites
15
15
16
16
- 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](../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`.
17
+
- An Azure Email Communication Services Resource ready to provision domains.[Get started creating an 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 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`.
20
20
21
21
## Install the required packages
22
22
@@ -27,7 +27,7 @@ pip install azure-identity
27
27
28
28
## Initialize the management client
29
29
30
-
To initialize your client, replace the field in the sample code below with your subscription id.
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.
31
31
32
32
```python
33
33
from azure.mgmt.communication import CommunicationServiceManagementClient
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.
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]".
46
45
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.
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`.
48
47
49
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.
0 commit comments