embed_image_in_mail
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
embed_image_in_mail [2017/06/24 14:17] – lucy | embed_image_in_mail [2018/06/01 13:48] – lucy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Add mail attachments in the message template ===== | ||
+ | |||
+ | LUCY allows you to embedd: | ||
+ | |||
+ | - Images | ||
+ | - Malware Simulations | ||
+ | - Any File Type | ||
+ | |||
+ | {{ embedd_img.png? | ||
+ | |||
+ | |||
===== Inserting Images in a message (email) ===== | ===== Inserting Images in a message (email) ===== | ||
Line 8: | Line 19: | ||
* CID Embedded Images | * CID Embedded Images | ||
- | | + | * Linked Images |
- | | + | |
===== CID Embedded Images (Inline Images) ===== | ===== CID Embedded Images (Inline Images) ===== | ||
Line 30: | Line 39: | ||
* Lots more effort | * Lots more effort | ||
* Harder for less technical staff to achieve | * Harder for less technical staff to achieve | ||
- | |||
- | |||
- | ===== Inline Embedding (Base64 Encoding) ===== | ||
- | |||
- | Inline embedding is much more simple, mostly because you don’t have to completely roll your own emails and dig around in MIME to use it. Embedding an image in an email first requires that you have a version of said image as a base64 encoded string. There are lots of web based tools to do this, such as ImageToBase64Converter by Web Coder Tools. | ||
- | |||
- | Once your image is encoded, jump into your template, or whatever HTML you’re sending out, and embed it using a standard HTML image tag: | ||
- | |||
- | 1 <img alt=" | ||
- | |||
- | |||
- | Pros | ||
- | * Much simpler to achieve | ||
- | * Much faster to do | ||
- | * Requires much less deep dive into MIME and application code | ||
- | |||
- | Cons | ||
- | * Can really increase size of emails especially if you use more than one image | ||
- | * Most likely blocked by default in many webmail services | ||
- | * Blocked completely in Outlook | ||
- | |||
===== Linked Images ===== | ===== Linked Images ===== |
embed_image_in_mail.txt · Last modified: 2019/07/25 12:49 by 127.0.0.1