this post was submitted on 25 Jul 2024
115 points (95.3% liked)
Programmer Humor
32483 readers
613 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Multi-part MIME containing inline images is actually what you're looking for and it's fairly easy to implement.
Here's an example. They handwave over the html section that actually refers to the inline images that they embed, but that's the basic layout you need.
https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmail/7a08211a-760a-41af-8cab-0acf462c4094