Skip to content

Commit 0d86cc2

Browse files
committed
Addressing PR feedback
1 parent 3e06ad6 commit 0d86cc2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class App
104104
### Creating the email client with authentication
105105
There are a few different options available for authenticating an email client.
106106

107-
#### [Connection String](#tab/connection-string)
107+
## [Connection String](#tab/connection-string)
108108

109109
#### Sync Client
110110

@@ -138,7 +138,7 @@ EmailAsyncClient emailClient = new EmailClientBuilder()
138138

139139
<a name='azure-active-directory'></a>
140140

141-
#### [Microsoft Entra ID](#tab/entra-id)
141+
## [Microsoft Entra ID](#tab/entra-id)
142142

143143
#### Sync Client
144144

@@ -172,7 +172,7 @@ EmailAsyncClient emailClient = new EmailClientBuilder()
172172

173173
#### [AzureKeyCredential](#tab/azure-key-credential)
174174

175-
#### Sync Client
175+
## Sync Client
176176
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/).
177177

178178
```java
@@ -184,7 +184,7 @@ EmailClient emailClient = new EmailClientBuilder()
184184
.buildClient();
185185
```
186186

187-
#### Async Client
187+
## Async Client
188188

189189
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/).
190190

@@ -266,8 +266,6 @@ catch (Exception exception)
266266

267267
## [Async Client](#tab/async-client)
268268

269-
## Basic email sending
270-
271269
Calling `beginSend` on the async client returns a `PollerFlux` object to which you can subscribe. You will want to set up the subscriber in a seperate process to take advantage of the asynchronous functionality. Note that the initial request to send an email will not be sent until a subscriber is set up.
272270

273271
```java

0 commit comments

Comments
 (0)