Bug 164346 - Mail Merge to send mails from ODT containing images
Summary: Mail Merge to send mails from ODT containing images
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
 
Reported: 2024-12-16 15:39 UTC by Gregory
Modified: 2024-12-18 05:51 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory 2024-12-16 15:39:08 UTC
Description:
I am trying the mail merge of a Writer document that contains an image.
The image is embedded in the document.

I want the content to be embedded in an email and sent to the recipient.
I have configured LIBREOFFICE and THUNDERBIRD to execute this mail merge.

The content is sent correctly in the body of the email (colors, bold, list, etc.) but instead of the image, a white block appears. The image space is reserved but the image is not present (not sent).

Is this possible with libreoffice and thunderbird or is it a bug?

However, if I inspect the source code of the email, I have the impression that the image is indeed incorporated. I have this following source code:

<p style=3D"line-height: 100%; margin-bottom: 0cm"><img src=3D"data:image/j=
peg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkS=
Ew8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRg=
yIRwhMjIyMjIyMjIyMjIyMjIyMjI
...
VENZgSScTLwxaEuRK/8AgetGbBdNeGf74o8kcEoP4V0Sp6JWfuPFsG4fhYETWiR40Q=
9kqnBDA//Z" name=3D"Image1" align=3D"left" width=3D"197" height=3D"263" bor=
der=3D"0"/>

Steps to Reproduce:
1. Create a Writer document with an image
2. Use the mailmerge to put the content of the document to the body of the mail and send the mail
3. Read the mail ==> wrong behavior

Actual Results:
The mail is sent to the recipients with a white block instead of the image

Expected Results:
The mail is sent to the recipients with the real image as in the Writer document


Reproducible: Always


User Profile Reset: No

Additional Info:
Question asked here : https://ask.libreoffice.org/t/publipostage-avec-image/114873

Tested with two different computer, on windows and linux.
Comment 1 Gregory 2024-12-17 15:35:45 UTC
Some more inputs:
- It doesn't work with PNG format
- It works for some JPEG image but not for all JPEG image: I don't know the reason. Size? Weight? Compression?