Skip to content

Commit 81b3f9d

Browse files
authored
Merge pull request #229493 from natekimball-msft/natekimball/update-quickstarts-js
Adding JavaScript quickstart
2 parents f8a8e49 + 3569162 commit 81b3f9d

File tree

7 files changed

+510
-346
lines changed

7 files changed

+510
-346
lines changed

articles/communication-services/quickstarts/email/includes/email-message-status.md

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: include file
3+
description: include file
4+
author: natekimball-msft
5+
manager: koagbakp
6+
services: azure-communication-services
7+
ms.author: natekimball
8+
ms.date: 03/03/2023
9+
ms.topic: include
10+
ms.service: azure-communication-services
11+
ms.custom: private_preview, event-tier1-build-2022
12+
---
13+
14+
15+
| Status Name | Description |
16+
| ----------- | ------------|
17+
| NotStarted | We're not sending this status from our service at this time. |
18+
| Running | The email send operation is currently in progress and being processed. |
19+
| Succeeded | The email send operation has completed without error and the email is out for delivery. Any detailed status about the email delivery beyond this stage can be obtained either through Azure Monitor or through Azure Event Grid. [Learn how to subscribe to email events](../handle-email-events.md) |
20+
| Failed | The email send operation wasn't successful and encountered an error. The email wasn't sent. The result contains an error object with more details on the reason for failure or cancellation. |
21+
| Canceled | The email send operation was canceled before it could complete. The email wasn't sent. The result contains an error object with more details on the reason for failure or cancellation.|

articles/communication-services/quickstarts/email/includes/send-email-az-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,5 @@ az communication email status get --message-id "\<messageId\>"
123123

124124
- Replace "\<messageId\>" with the messageId from the response of the send request.
125125

126-
[!INCLUDE [Email Message Status](./email-message-status.md)]
126+
[!INCLUDE [Email Message Status](./email-operation-status.md)]
127127

articles/communication-services/quickstarts/email/includes/send-email-java.md

Lines changed: 127 additions & 119 deletions
Large diffs are not rendered by default.

articles/communication-services/quickstarts/email/includes/send-email-js.md

Lines changed: 133 additions & 109 deletions
Large diffs are not rendered by default.

articles/communication-services/quickstarts/email/includes/send-email-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ do
175175
} while (DateTime.Now.Ticks - start < duration.Ticks);
176176
```
177177

178-
[!INCLUDE [Email Message Status](./email-message-status.md)]
178+
[!INCLUDE [Email Message Status](./email-operation-status.md)]
179179

180180
## Run the code
181181

0 commit comments

Comments
 (0)