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/samples/email-detect-sensitive-content.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
@@ -15,7 +15,7 @@ ms.subservice: email
15
15
16
16
# Pre-send email analysis: Detecting sensitive data and inappropriate content using Azure AI
17
17
18
-
Azure Communication Services email enables organizations to send high volume messages to their customers using their applications. This tutorial demonstrates how to leverage Azure AI to ensure that your messages accurately reflect your business’s brand and reputation before sending them. Azure AI offers services to analyze your email content for sensitive data and identify inappropriate content.
18
+
Azure Communication Services email enables organizations to send high volume messages to their customers using their applications. This tutorial shows how to leverage Azure AI to ensure that your messages accurately reflect your business’s brand and reputation before sending them. Azure AI offers services to analyze your email content for sensitive data and identify inappropriate content.
19
19
20
20
This tutorial describes how to use Azure AI Text Analytics to check for sensitive data and Azure AI Content Safety to identify inappropriate text content. Use these functions to check your content before sending the email using Azure Communication Services.
21
21
@@ -73,7 +73,7 @@ From the application directory, install the Azure Communication Services Email c
73
73
74
74
## Create the Main function
75
75
76
-
Open `Program.cs` and replace the existing contents with the following code. The *using* directives include the `Azure.Communication.Email` and `Azure.AI namespaces`. The rest of the code outlines the `SendMail` function for your program.
76
+
Open `Program.cs` and replace the existing contents with the following code. The `using` directives include the `Azure.Communication.Email` and `Azure.AI namespaces`. The rest of the code outlines the `SendMail` function for your program.
77
77
78
78
```csharp
79
79
usingSystem;
@@ -243,7 +243,7 @@ You have a few options available for authenticating to an email client. This exa
243
243
Open `Program.cs` in an editor. Add the following code to the body of the Main function to initialize an `EmailClient` with your connection string. This code retrieves the connection string for the resource from an environment variable named `COMMUNICATION_SERVICES_CONNECTION_STRING`. For more information about managing your resource connection string, see [Quickstart: Create and manage Communication Services resources > Store your connection string](../quickstarts/create-communication-resource.md#store-your-connection-string).
244
244
245
245
```csharp
246
-
// This code demonstrates how to fetch your connection string from an environment variable.
246
+
// This code shows how to fetch your connection string from an environment variable.
0 commit comments