Skip to content

Commit 0d59471

Browse files
committed
add optional connection-string parameter
1 parent eb09922 commit 0d59471

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,15 @@ After you add the environment variable, run `source ~/.bash_profile` from your c
7676

7777
```azurecli-interactive
7878
az communication email send
79+
--connection-string "yourConnectionString"
7980
--sender "<[email protected]>"
8081
8182
--subject "Welcome to Azure Communication Services Email" --text "This email message is sent from Azure Communication Services Email using Azure CLI."
8283
```
8384

8485
Make these replacements in the code:
8586

87+
- Replace `<yourConnectionString>` with your connection string.
8688
- Replace "<[email protected]>" with the email address you would like to send a message to.
8789
- Replace "<[email protected]>" with the MailFrom address of your verified domain.
8890

0 commit comments

Comments
 (0)