Corrupted base64 images using Mime Mail module

Created on 7 December 2022, over 2 years ago
Updated 23 March 2023, about 2 years ago

Hi, when you send an email with a base64 image in the body, the image is corrupted by Mime Mail module.

In my case I'm sending an email from webform and the body contains an image like:

<img src="data:image ..." />

The mimeMailExtractFiles() function regex should skip images with "data:image" on the "src" attribute in order to skip this case.

I've created a simple patch to fix this bug.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy finex

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024