Skip to content

Commit 916d830

Browse files
committed
Updated --inline-attachment with pluralized
1 parent 8061016 commit 916d830

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/communication-services/quickstarts/email/send-email-advanced/includes/inline-attachments-azcli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ az communication email send
8484
8585
--subject "Welcome to Azure Communication Services Email"
8686
--attachment-types "<inlineattachmenttype1>" # MIME type of the content being attached. Example: "png"
87-
--inline-attachment "<filepath>/<contentid>" # Example: "MicrosoftLogo.png/MSLogo"
87+
--inline-attachments "<filepath>/<contentid>" # Example: "MicrosoftLogo.png/MSLogo"
8888
--html "<html><head><title>Welcome to Azure Communication Services Email</title></head><body><h1>This email message is sent from Azure Communication Services Email using Azure CLI.</h1><img src='cid:<contentid>' alt='<alternatetext>'/></body></html>"
8989
```
9090
Make these replacements in the code:
@@ -107,7 +107,7 @@ az communication email send
107107
--subject "Welcome to Azure Communication Services Email"
108108
--attachment-types "<attachmenttype1>" "<inlineattachmenttype1>" # MIME type of the content being attached. Example1: "jpg" "png" & Example2: "png" "png"
109109
--attachments "<filepath>" # Example: "MSLogo.jpg"
110-
--inline-attachment "<filepath>/<contentid>" # Example: "MicrosoftLogo.png/MSLogo"
110+
--inline-attachments "<filepath>/<contentid>" # Example: "MicrosoftLogo.png/MSLogo"
111111
--html "<html><head><title>Welcome to Azure Communication Services Email</title></head><body><h1>This email message is sent from Azure Communication Services Email using Azure CLI.</h1><img src='cid:<contentid>' alt='<alternatetext>'/></body></html>"
112112
```
113113

@@ -132,7 +132,7 @@ az communication email send
132132
--subject "Welcome to Azure Communication Services Email"
133133
--attachment-types "<attachmenttype1>" "<attachmenttype2>" "<inlineattachmenttype1>" "<inlineattachmenttype2>" "<inlineattachmenttype3>" # MIME type of the content being attached. Example: "png" "jpg" "png" "jpg" "bmp"
134134
--attachments "<filepath1>" "<filepath2>"
135-
--inline-attachment "<filepath1>/<contentid1>" "<filepath2>/<contentid2>" "<filepath3>/<contentid3>"
135+
--inline-attachments "<filepath1>/<contentid1>" "<filepath2>/<contentid2>" "<filepath3>/<contentid3>"
136136
--html "<html><head><title>Welcome to Azure Communication Services Email</title></head><body><h1>This email message is sent from Azure Communication Services Email using Azure CLI.</h1><img src='cid:<contentid1>' alt='<alternatetext>'/><img src='cid:<contentid2>' alt='<alternatetext>'/><img src='cid:<contentid3>' alt='<alternatetext>'/></body></html>"
137137
```
138138

@@ -176,7 +176,7 @@ The following optional parameters are available in Azure CLI.
176176
177177
- `--attachment-types` sets the list of email attachment types, in the same order of attachments.
178178

179-
- `--inline-attachment` parameter embeds an attachment directly within the email body, instead of as a separate downloadable file. It is commonly used for images or media files that should appear inline in the email content.
179+
- `--inline-attachments` parameter embeds an attachment directly within the email body, instead of as a separate downloadable file. It is commonly used for images or media files that should appear inline in the email content.
180180

181181
>[!NOTE]
182182
> There needs to be at least one recipient in `--to` or `--cc` or `--bcc`.

0 commit comments

Comments
 (0)