this post was submitted on 25 Jul 2024
117 points (95.3% liked)

Programmer Humor

32410 readers
581 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Thanks for the information though.

all 25 comments
sorted by: hot top controversial new old
[–] [email protected] 44 points 3 months ago (5 children)
[–] [email protected] 20 points 3 months ago* (last edited 3 months ago)

because it works, even in a crowdstrike

edit: typo

[–] [email protected] 14 points 3 months ago

Did the fax go down from CrowdStrike? No. The superior communication medium!

[–] [email protected] 10 points 3 months ago

My HR told me I could no longer email bills, but instead had to give them the original paper. I'm afraid somebody there will have a heart attack when I tell them that that PDF file is the original.

[–] [email protected] 4 points 3 months ago

Fax? I ain't using that modern bullshit. I will be writing letters, just like in the good ol' days.

[–] [email protected] 2 points 3 months ago

hehe, FAX sounds like TCP ACK but waaay more rude.

[–] [email protected] 16 points 3 months ago

𝕯𝖎𝖊𝖘𝖊 𝕶𝖔𝖒𝖒𝖊𝖓𝖙𝖆𝖗𝖘𝖊𝖐𝖙𝖎𝖔𝖓 𝖎𝖘𝖙 𝖓𝖚𝖓 𝕰𝖎𝖌𝖊𝖓𝖙𝖚𝖒 𝖉𝖊𝖗 𝕭𝖚𝖓𝖉𝖊𝖘𝖗𝖊𝖕𝖚𝖇𝖑𝖎𝖐 𝕯𝖊𝖚𝖙𝖘𝖈𝖍𝖑𝖆𝖓𝖉

[–] [email protected] 12 points 3 months ago (2 children)

Emails are surprisingly hard to format, actually. If you want to use modern HTML, anyway.

[–] [email protected] 3 points 3 months ago (1 children)

No it's not. Its just hard if they need to work in Outlook, which uses a Word Processor instead of an HTML rendering engine like any other sane email client.

[–] [email protected] 3 points 3 months ago (1 children)

It's wonderful for you that you live in a world where people use something else than Outlook to read email at work.

[–] [email protected] 3 points 3 months ago* (last edited 3 months ago) (1 children)

I use https://mjml.io/ for HTML emails, highly recommend it if you dont want to deal with Outlook's bullshit.

[–] [email protected] 1 points 3 months ago

Thank you kindly for the link. I'll have to see what this brings to the table, but it's always nice to have options!

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

This one goes right to the feels. I've got pretty good experience with using SSR components to generate static html with components. I'm currently using dotnet and blazor where I can make email components like a button and an image as easy as that might sound.

[–] [email protected] 6 points 3 months ago

Stupid people shouldn’t be permitted to use computers.

[–] [email protected] 3 points 3 months ago

Its about a device with touch interface as laggy as those old ass android phones with funky fonts.

I hate every second of interaction with this smart pot.

[–] [email protected] 3 points 3 months ago (1 children)

Is it possible to put images in an email without them showing up like this?

[–] [email protected] 7 points 3 months ago* (last edited 3 months ago) (2 children)

yeah it uses this really neat semantic rendering programming language for serving structured documents across servers

It's a bit tricky, but anyone with at least a Masters in CompSci should be able to parse some of it enough to get the gist. Bear in mind that the "source" is abbreviated to src, and "image" similarly. The rest is coding that gives the computer instructions, you'll also need to replace FILENAME in the code with the actual filename. It goes like this

<img src="FILENAME" /> 

Let me know if I can explain it more clearly.

[–] [email protected] 10 points 3 months ago (4 children)

I feel like the level of snark in your reply is... High. It doesn't make for a pleasant interaction, and it doesn't help make lemmy a nice place to be.

So, if the image you want to put into your email is not hosted somewhere, what's the best way to go about this, ensuring compatibility?

[–] [email protected] 6 points 3 months ago

I don't think it's really directed at you and moreso about making fun of the company who didn't put in any effort to make it show up correctly.

[–] [email protected] 4 points 3 months ago

I'm just being a silly billy it's not directed at you.

It's more like "ah if only there was a simple solution that could've been used."

All images are hosted somewhere, I would consider an intern fresh out of college know how to correctly add an image to an email, or at least only be told once if somehow they had never seen this before.

[–] [email protected] 1 points 3 months ago

You can have inline images that are only shown as part of the rendered HTML. Don't ask me how, but you'll find some examples in your inbox.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

So, if the image you want to put into your email is not hosted somewhere, what’s the best way to go about this, ensuring compatibility?

You can base64-encode the image file. It's super-jank, but it works, even in Outlook.

Example: https://www.base64-image.de/tutorial

[–] [email protected] 1 points 3 months ago

Let me know if I can explain it more clearly.

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

[–] [email protected] 3 points 3 months ago

Ikea email. You get the parts and assemble it yourself