When sending a html mail the images get correctly extracted and embedded.

But not the second time in the same page request.

This is because the static variable $filenames is not cleaned up when done.

The attached patch is supposed to fix this issue.

CommentFileSizeAuthor
mimemail_static_filenames.patch472 byteskoenvw

Comments

sgabe’s picture

Status: Active » Closed (duplicate)

This has been already committed to HEAD. Duplicate of #358439: Images are only in the first message.