Skip to content

Commit c34fc16

Browse files
Merge pull request #258546 from ddouglas-msft/user/ddouglas-msft/smtp-quickstart-update
[ACS Email Quickstart and Concepts] Add traffic source and dot delimiter
2 parents d5723b9 + d353d6f commit c34fc16

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

articles/communication-services/concepts/analytics/logs/email-logs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Communication Services offers the following types of logs that you can enable:
7474
| `BccRecipientsCount` | The total # of unique email addresses on the Bcc line. |
7575
| `UniqueRecipientsCount` | This is the deduplicated total recipient count for the To, Cc, and Bcc address fields. |
7676
| `AttachmentsCount` | The total # of attachments. |
77+
| `TrafficSource` | The name of the client where the email request originated from. |
7778

7879
**Samples**
7980

@@ -86,7 +87,8 @@ Communication Services offers the following types of logs that you can enable:
8687
"CcRecipientsCount":3,
8788
"BccRecipientsCount":1,
8889
"UniqueRecipientsCount":6,
89-
"AttachmentsCount":0
90+
"AttachmentsCount":0,
91+
"TrafficSource":"Email .NET SDK"
9092
}
9193
```
9294

articles/communication-services/quickstarts/email/send-email-smtp/smtp-authentication.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,25 @@ When assigning the Entra application a role for the Azure Communication Services
6767

6868
### Creating the SMTP credentials from the Entra application information.
6969
#### SMTP Authentication Username
70-
Azure Communication Services allows the credentials for an Entra application to be used as the SMTP username and password. The username consists of three pipe-delimited parts.
70+
Azure Communication Services allows the credentials for an Entra application to be used as the SMTP username and password. The username consists of the following three parts and can be pipe or dot delimited.
7171
1. The Azure Communication Service Resource name.
7272
:::image type="content" source="../media/email-smtp-resource-name.png" alt-text="Screenshot that shows finding the resource name.":::
7373
1. The Entra Application ID.
7474
:::image type="content" source="../media/email-smtp-entra-details.png" alt-text="Screenshot that shows finding the Entra Application ID.":::
7575
1. The Entra Tenant ID.
7676
:::image type="content" source="../media/email-smtp-entra-tenant.png" alt-text="Screenshot that shows finding the Entra Tenant ID.":::
7777

78-
**Format:**
78+
**Dot-delimited Format:**
79+
```
80+
username: <Azure Communication Services Resource name>.<Entra Application ID>.<Entra Tenant ID>
81+
```
82+
**Pipe-delimited Format:**
7983
```
8084
username: <Azure Communication Services Resource name>.<Entra Application ID>.<Entra Tenant ID>
8185
OR
8286
username: <Azure Communication Services Resource name>|<Entra Application ID>|<Entra Tenant ID>
8387
```
88+
8489
#### SMTP Authentication Password
8590
The password is one of the Entra application's client secrets.
8691
:::image type="content" source="../media/email-smtp-entra-secret.png" alt-text="Screenshot that shows finding the Entra client secret.":::
@@ -90,7 +95,7 @@ The password is one of the Entra application's client secrets.
9095
- **Authentication**: Username and password authentication is supported using Entra application details as the credentials. The Azure Communication Services SMTP service will use the Entra application details to get an access token on behalf of the user and use that to submit the email. Because the Entra token isn't cached, access can be revoked immediately by either changing the Entra application client secret or by changing the access controls for the Azure Communication Services Resource.
9196
- **Azure Communication Service**: An Azure Communication Services Resource with a connected Azure Communication Email Resource and domain is required.
9297
- **Transport Layer Security (TLS)**: Your device must be able to use TLS version 1.2 and above.
93-
- **Port**: Port 587 (recommended) or port 25 is required and must be unblocked on your network. Some network firewalls or ISPs block ports, especially port 25, because that's the port that email servers use to send mail.
98+
- **Port**: Port 587 is required and must be unblocked on your network. Some network firewalls or ISPs block ports because that's the port that email servers use to send mail.
9499
- **DNS**: Use the DNS name smtp.azurecomm.net. Don't use an IP address for the Microsoft 365 or Office 365 server, as IP Addresses aren't supported.
95100

96101
### How to set up SMTP AUTH client submission
@@ -100,6 +105,6 @@ Enter the following settings directly on your device or in the application as th
100105
| Device or Application setting | Value |
101106
|--|--|
102107
|Server / smart host | smtp.azurecomm.net |
103-
|Port |Port 587 (recommended) or port 25|
108+
|Port |Port 587|
104109
|TLS / StartTLS | Enabled|
105110
|Username and password | Enter the Entra application credentials from an application with access to the Azure Communication Services Resource |

0 commit comments

Comments
 (0)