Skip to content

Commit 60a25a3

Browse files
committed
Fixing header sizes
1 parent b44bdb8 commit 60a25a3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ EmailAsyncClient emailClient = new EmailClientBuilder()
133133
.buildAsyncClient();
134134
```
135135

136-
<a name='azure-active-directory'></a>
137-
138136
## [Microsoft Entra ID](#tab/entra-id)
139137

140138
A [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#defaultazurecredential) object must be passed to the `EmailClientBuilder` via the `credential()` method. An endpoint must also be set via the `endpoint()` method.
@@ -163,11 +161,11 @@ EmailAsyncClient emailClient = new EmailClientBuilder()
163161
.buildAsyncClient();
164162
```
165163

166-
#### [AzureKeyCredential](#tab/azure-key-credential)
164+
## [AzureKeyCredential](#tab/azure-key-credential)
167165

168166
Email clients can also be created and authenticated using the endpoint and Azure Key Credential acquired from an Azure Communication Resource in the [Azure portal](https://portal.azure.com/).
169167

170-
## Sync Client
168+
#### Sync Client
171169

172170
```java
173171
String endpoint = "https://<resource-name>.communication.azure.com";
@@ -178,7 +176,7 @@ EmailClient emailClient = new EmailClientBuilder()
178176
.buildClient();
179177
```
180178

181-
## Async Client
179+
#### Async Client
182180

183181
```java
184182
String endpoint = "https://<resource-name>.communication.azure.com";

0 commit comments

Comments
 (0)