sending attachment from email worker

I'm building a contact form where people can attach files and they will be emailed to me, and while I can attach files, they are not decoded from the base64 form they're sent in. Does anyone know how can I change the content transfer encoding? I can't just send the raw file either, some characters seem to get lost (or I'm not converting the uint8array to a string properly, which might be causing the issue)
4 Replies
Tigrounette
Tigrounette7mo ago
if i send b64
No description
Tigrounette
Tigrounette7mo ago
raw file (bytes lost)
No description
Tigrounette
Tigrounette6mo ago
bumping bumping bumping :\