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/manage-suppression-list-java.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
16
16
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17
17
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
18
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're 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're 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 Azure Active Directory (AD) application as the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
To block your email messages from being sent to certain addresses, the first step is setting up a suppression list in your domain resource.
68
68
69
-
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. 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. Choose any name for your suppression list resource and update that field in the sample as well.
69
+
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. Find this information in the portal by navigating to the domain resource you created when setting up the prerequisites. The title of the resource is `<your-email-service-name>/<your-domain-name>`. Find the resource group name and subscription ID in the Essentials sections in the domain resource overview. Choose any name for your suppression list resource and update that field in the sample as well.
70
70
71
71
For the list name, make sure it's the same as the sender username of the MailFrom address you would like to suppress emails from. These MailFrom addresses can be found in the "MailFrom addresses" section of your domain resource in the portal. For example, you may have a MailFrom address that looks like "[email protected]". The sender username for this address would be "donotreply" so a list name of "donotreply" should be used.
After setting up the suppression list, you can now add specific email addresses to which you wish to prevent your email messages from being sent.
97
97
98
-
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique, so using a GUID is recommended. Update the email address you want to block from receiving your messages as well.
98
+
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique. We recommend using a GUID. Update the email address you want to block from receiving your messages as well.
99
99
100
100
To add multiple addresses to the suppression list, you need to repeat this code sample multiple times.
You can now try sending an email to the suppressed address from the [`TryEmail` section of your Communication Service resource or by using one of the Email SDKs](../send-email.md). Make sure to send the email using the MailFrom address with the sender username you choose to suppress. Your email will successfully send to the previously suppressed address.
125
125
126
-
## Remove a suppression list from a domains resource
126
+
## Remove a suppression list from a domain resource
127
127
128
-
Call the `delete` method on `suppressionLists` to remove a suppression list from the domains resource.
128
+
Call the `delete` method on `suppressionLists` to remove a suppression list from the domain resource.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/manage-suppression-list-js.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
16
16
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17
17
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
18
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're 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're 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 Azure Active Directory (AD) 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
@@ -44,7 +44,7 @@ const client = new CommunicationServiceManagementClient(credential, subscription
44
44
45
45
To block your email messages from being sent to certain addresses, the first step is setting up a suppression list in your domain resource.
46
46
47
-
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. 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. Choose any name for your suppression list resource and update that field in the sample as well.
47
+
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. Find this information in the portal by navigating to the domain resource you created when setting up the prerequisites. The title of the resource is `<your-email-service-name>/<your-domain-name>`. Find the resource group name and subscription ID in the Essentials sections in the domain resource overview. Choose any name for your suppression list resource and update that field in the sample as well.
48
48
49
49
For the list name, make sure it's the same as the sender username of the MailFrom address you would like to suppress emails from. These MailFrom addresses can be found in the "MailFrom addresses" section of your domain resource in the portal. For example, you may have a MailFrom address that looks like "[email protected]". The sender username for this address would be "donotreply" so a list name of "donotreply" should be used.
After setting up the suppression list, you can now add specific email addresses to which you wish to prevent your email messages from being sent.
89
89
90
-
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique, so using a GUID is recommended. Update the email address you want to block from receiving your messages as well.
90
+
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique. We recommend using a GUID. Update the email address you want to block from receiving your messages as well.
91
91
92
92
To add multiple addresses to the suppression list, you need to repeat this code sample multiple times.
You can now try sending an email to the suppressed address from the [`TryEmail` section of your Communication Service resource or by using one of the Email SDKs](../send-email.md). Make sure to send the email using the MailFrom address with the sender username you choose to suppress. Your email will successfully send to the previously suppressed address.
131
131
132
-
## Remove a suppression list from a domains resource
132
+
## Remove a suppression list from a domain resource
133
133
134
-
Call the `delete` method on `suppressionList` to remove a suppression list from the domains resource.
134
+
Call the `delete` method on `suppressionList` to remove a suppression list from the domain resource.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/manage-suppression-list-net.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
16
16
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17
17
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
18
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're 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're 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 Azure Active Directory (AD) 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
@@ -43,7 +43,7 @@ ArmClient client = new ArmClient(new DefaultAzureCredential());
43
43
44
44
To block your email messages from being sent to certain addresses, the first step is setting up a suppression list in your domain resource.
45
45
46
-
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. 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. Choose any name for your suppression list resource and update that field in the sample as well.
46
+
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. Find this information in the portal by navigating to the domain resource you created when setting up the prerequisites. The title of the resource is `<your-email-service-name>/<your-domain-name>`. Find the resource group name and subscription ID in the Essentials sections in the domain resource overview. Choose any name for your suppression list resource and update that field in the sample as well.
47
47
48
48
For the list name, make sure it's the same as the sender username of the MailFrom address you would like to suppress emails from. These MailFrom addresses can be found in the "MailFrom addresses" section of your domain resource in the portal. For example, you may have a MailFrom address that looks like "[email protected]". The sender username for this address would be "donotreply" so a list name of "donotreply" should be used.
After setting up the suppression list, you can now add specific email addresses to which you wish to prevent your email messages from being sent.
84
84
85
-
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique, so using a GUID is recommended. Update the email address you want to block from receiving your messages as well.
85
+
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique. We recommend using a GUID. Update the email address you want to block from receiving your messages as well.
86
86
87
87
To add multiple addresses to the suppression list, you need to repeat this code sample multiple times.
You can now try sending an email to the suppressed address from the [`TryEmail` section of your Communication Service resource or by using one of the Email SDKs](../send-email.md). Make sure to send the email using the MailFrom address with the sender username you choose to suppress. Your email will successfully send to the previously suppressed address.
116
116
117
-
## Remove a suppression list from a domains resource
117
+
## Remove a suppression list from a domain resource
118
118
119
-
To remove a suppression list from the domains resource, create the `SuppressionListResource` as shown in the previous code samples and call the `Delete` method.
119
+
To remove a suppression list from the domain resource, create the `SuppressionListResource` as shown in the previous code samples and call the `Delete` method.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/manage-suppression-list-python.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.custom: mode-other
16
16
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
17
17
- An Azure Email Communication Services Resource ready to provision domains. [Get started creating an Email Communication Resource](../create-email-communication-resource.md).
18
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're 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're 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 Azure Active Directory (AD) application as the following environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`.
To block your email messages from being sent to certain addresses, the first step is setting up a suppression list in your domain resource.
46
46
47
-
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. 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. Choose any name for your suppression list resource and update that field in the sample as well.
47
+
Update the code sample with the resource group name, the email service name, and the domain resource name for which you would like to create the suppression list. Find this information in the portal by navigating to the domain resource you created when setting up the prerequisites. The title of the resource is `<your-email-service-name>/<your-domain-name>`. Find the resource group name and subscription ID in the Essentials sections in the domain resource overview. Choose any name for your suppression list resource and update that field in the sample as well.
48
48
49
49
For the list name, make sure it's the same as the sender username of the MailFrom address you would like to suppress emails from. These MailFrom addresses can be found in the "MailFrom addresses" section of your domain resource in the portal. For example, you may have a MailFrom address that looks like "[email protected]". The sender username for this address would be "donotreply" so a list name of "donotreply" should be used.
After setting up the suppression list, you can now add specific email addresses to which you wish to prevent your email messages from being sent.
90
90
91
-
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique, so using a GUID is recommended. Update the email address you want to block from receiving your messages as well.
91
+
Update the code sample with the suppression list address ID. Every suppression list address ID you add needs to be unique. We recommend using a GUID. Update the email address you want to block from receiving your messages as well.
92
92
93
93
To add multiple addresses to the suppression list, you need to repeat this code sample multiple times.
You can now try sending an email to the suppressed address from the [`TryEmail` section of your Communication Service resource or by using one of the Email SDKs](../send-email.md). Make sure to send the email using the MailFrom address with the sender username you've chosen to suppress. Your email will successfully send to the previously suppressed address.
131
131
132
-
## Remove a suppression list from a domains resource
132
+
## Remove a suppression list from a domain resource
133
133
134
-
Call the `delete` method on `suppression_lists` to remove a suppression list from the domains resource.
134
+
Call the `delete` method on `suppression_lists` to remove a suppression list from the domain resource.
0 commit comments