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/send-email-smtp/smtp-authentication.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,20 +67,25 @@ When assigning the Entra application a role for the Azure Communication Services
67
67
68
68
### Creating the SMTP credentials from the Entra application information.
69
69
#### 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.
71
71
1. The Azure Communication Service Resource name.
72
72
:::image type="content" source="../media/email-smtp-resource-name.png" alt-text="Screenshot that shows finding the resource name.":::
73
73
1. The Entra Application ID.
74
74
:::image type="content" source="../media/email-smtp-entra-details.png" alt-text="Screenshot that shows finding the Entra Application ID.":::
75
75
1. The Entra Tenant ID.
76
76
:::image type="content" source="../media/email-smtp-entra-tenant.png" alt-text="Screenshot that shows finding the Entra Tenant ID.":::
77
77
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:**
79
83
```
80
84
username: <Azure Communication Services Resource name>.<Entra Application ID>.<Entra Tenant ID>
81
85
OR
82
86
username: <Azure Communication Services Resource name>|<Entra Application ID>|<Entra Tenant ID>
83
87
```
88
+
84
89
#### SMTP Authentication Password
85
90
The password is one of the Entra application's client secrets.
86
91
:::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.
90
95
-**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.
91
96
-**Azure Communication Service**: An Azure Communication Services Resource with a connected Azure Communication Email Resource and domain is required.
92
97
-**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.
94
99
-**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.
95
100
96
101
### 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
100
105
| Device or Application setting | Value |
101
106
|--|--|
102
107
|Server / smart host | smtp.azurecomm.net |
103
-
|Port |Port 587 (recommended) or port 25|
108
+
|Port |Port 587|
104
109
|TLS / StartTLS | Enabled|
105
110
|Username and password | Enter the Entra application credentials from an application with access to the Azure Communication Services Resource |
0 commit comments