- Issue created by @joseph.olstad
- Status changed to Closed: duplicate
4 months ago 10:41pm 28 August 2024
Email clients like Outlook accept img src attributes in cid: format as part of the mime spec
This syntax is used to embed images directly within an email rather than linking to an external source.
cid: This stands for "Content ID". In MIME emails, cid: is used to reference a specific part of the email that contains the image data. The image is embedded as a separate part within the email and is referenced using this cid: identifier.
Example: <img src="cid:image005.png@01D8C431.94646A40">
This is the Content ID itself, which is a unique identifier that links the src in the HTML part of the email to the embedded image. The format of this ID can vary, but it usually includes a filename and some unique identifiers (like the parts after the @ symbol), which help to ensure that the correct image is displayed.
When an email client receives an email with this kind of embedded image, it looks for the part of the email with the matching Content ID and displays that image at the location specified by the src attribute. This approach is often used in HTML emails to ensure that images display correctly even if the recipient's email client doesn't automatically download external images.
Embedded Security: Since the image is embedded, it reduces the need for the email client to fetch external resources, which can be more secure and avoid privacy issues related to tracking pixels.
Offline Viewing: The embedded image is included directly in the email, so the recipient can view the images even if they are offline or have network issues.
Consistency: Ensure that branding and visuals are consistently displayed regardless of email client settings.
N/A
TBD
TBD
TBD
TBD
TBD
Closed: duplicate
2.2
Code