Skip to content

Commit c6d526c

Browse files
authored
Merge pull request #288276 from vac0224/vc-email-inline-attach-2024-10-18
New article: Inline attachments
2 parents a750846 + 686fba4 commit c6d526c

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Enhance email communication with inline attachments
3+
titleSuffix: An Azure Communication Services concept article
4+
description: Inline attachments enable you to embed images directly within the email body.
5+
author: mansha
6+
manager: koagbakp
7+
services: azure-communication-services
8+
ms.author: maniss
9+
ms.date: 09/30/2024
10+
ms.topic: conceptual
11+
ms.service: azure-communication-services
12+
---
13+
14+
# Enhance email communication with inline attachments
15+
16+
Email communication is more than just text. It's about creating engaging and visually appealing messages that capture the recipient's attention.
17+
18+
One way to engage email recipients is by using inline attachments, which enable you to embed images directly within the email body.
19+
20+
Inline attachments are images or other media files that are embedded directly within the email content, rather than being sent as separate attachments.
21+
22+
Inline attachments let the recipient view the images as part of the email body, enhancing the overall visual appeal and engagement.
23+
24+
## Using inline attachments
25+
26+
Inline attachments are typically used for:
27+
28+
- Improved Engagement: Inline images can make your emails more visually appealing and engaging.
29+
- Better Branding: Embedding your logo or other brand elements directly in the email can reinforce your brand identity.
30+
- Enhanced User Experience: Inline images can help illustrate your message more effectively, making it easier for recipients to understand and act on your content.
31+
32+
Benefits of using CID for inline attachments
33+
34+
We use the HTML attribute content-ID (CID) to embed images directly into the email body.
35+
36+
Using CID for inline attachments is considered the best approach for the following reasons:
37+
38+
- Reliability: CID embedding references the image data using a unique identifier, rather than embedding the data directly in the email body. CID embedding ensures that the images are reliably displayed across different email clients and platforms.
39+
- Efficiency: CID enables you to attach the image to the email and reference it within the HTML content using the unique content-ID. This method is more efficient than base64 encoding, which can significantly increase the size of the email and affect deliverability.
40+
- Compatibility: CID supported by most email clients, ensuring that your inline images are displayed correctly for most recipients.
41+
- Security: Using CID avoids the need to host images on external servers, which can pose security risks. Instead, the images are included as part of the email, reducing the risk of external content being blocked or flagged as suspicious.
42+
43+
## Related articles
44+
45+
- [Quickstart - Send email with attachments using Azure Communication Services](../../quickstarts/email/send-email-advanced/send-email-with-attachments.md)
46+
- [Quickstart - Send email with inline attachments using Azure Communication Services](../../quickstarts/email/send-email-advanced/send-email-with-inline-attachments.md)

articles/communication-services/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,8 @@ items:
10271027
href: concepts/email/email-smtp-overview.md
10281028
- name: Allowed attachment types
10291029
href: concepts/email/email-attachment-allowed-mime-types.md
1030+
- name: Inline attachments
1031+
href: concepts/email/email-attachment-inline.md
10301032
- name: Managing Opt-outs
10311033
href: concepts/email/email-optout-management.md
10321034
- name: Understanding sender reputation

0 commit comments

Comments
 (0)