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-advanced/includes/inline-attachments-azcli.md
--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>"
89
89
```
90
90
Make these replacements in the code:
@@ -107,7 +107,7 @@ az communication email send
107
107
--subject "Welcome to Azure Communication Services Email"
108
108
--attachment-types "<attachmenttype1>" "<inlineattachmenttype1>" # MIME type of the content being attached. Example1: "jpg" "png" & Example2: "png" "png"
--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>"
112
112
```
113
113
@@ -132,7 +132,7 @@ az communication email send
132
132
--subject "Welcome to Azure Communication Services Email"
133
133
--attachment-types "<attachmenttype1>" "<attachmenttype2>" "<inlineattachmenttype1>" "<inlineattachmenttype2>" "<inlineattachmenttype3>" # MIME type of the content being attached. Example: "png" "jpg" "png" "jpg" "bmp"
--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>"
137
137
```
138
138
@@ -176,7 +176,7 @@ The following optional parameters are available in Azure CLI.
176
176
177
177
-`--attachment-types` sets the list of email attachment types, in the same order of attachments.
178
178
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.
180
180
181
181
>[!NOTE]
182
182
> There needs to be at least one recipient in `--to` or `--cc` or `--bcc`.
0 commit comments