Closed Bug 305580 Opened 19 years ago Closed 19 years ago

Images are not displayed inline at the correct position although email was created using thunderbird.

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jobst, Assigned: mscott)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

I created an email in Thunderbird as a test email, I wanted to test a few things
in my mailserver(s) setups (for example the HTML::Anomy Cleaner which runs on my
main mailserver in combination with mimedefang).

I especially created it using thunderbird so I could be sure that it will be
seen properly by thunderbird (as it was created by it) when the email was
received back.

I created it as a draft so I could use the created source (copied from the draft
folder), place this on my home machine (which I can access from my business
network) and wanted to send this email back to our network to test our
mailserver setup.

To my surprise the email is not the same when received back and read by
thunderbird. The email source is not changed at all from the source that
is found in the drafts folder, but the image is NOT shown correctly.

I even send the email internally to a number of people, yet the picture
was not diplayed properly.

I even made an easier email:

some line
<img>
another line

and the image was not displayed properly and once again, all other email
program (non mozilla based) displayed the image at the correct location.








Reproducible: Always

Steps to Reproduce:
1. Use the attached email and sent it to yourself
2. start thunderbird
3. images are attached not shown INSIDE the table no matter what I do with the
INLINE setting or other settings that may change iamges.
Actual Results:  
images are attached not shown INSIDE the table.


Expected Results:  
Images are ahould be shown INSIDE the table.

There are two images within the table: bottom left cell and top right cell.
they are NOT shown in the table but are attached

Outlook and other email program show the images at the correct location.



I checked this on a number of machines with a number of different email programs
(thunderbird (1.0.6), mozilla (1.7.8), outlook (different falvours) on LINUX and
Windows an only Outlook got it correct.

Mozilla 1.7.8 showed a "missing image icon" instead of the image, but it was
correctly placed.

Thunderbird did not even shows the missing image icon on either Linux nor
windows (2000).

Attached images are not web-bugs and should be displayed!

This is especially annoying if you are in a business type environment and have
20 odd users expressing their negative feelings about the image issue.

Outlook (and I hated this the most) placed the image at the correct location.
Its an email containing a 2x2 table.

Bottom left and top right cell contain a GIF image.

all cell have a different background color

there are a number of lines before and after the table.
Attachment #193539 - Attachment mime type: text/html → message/rfc822
This message appears just fine to me.  If I had to guess, I'd guess that you
have set    View | Message Body As    to something besides Original HTML.

If in fact that is what you have done, please mark this bug:  Resolved |
Invalid
(In reply to comment #2)
> Created an attachment (id=193580) [edit]
> Image of how message appears (reduced size)
> 
> This message appears just fine to me.  If I had to guess, I'd guess that you
> have set    View | Message Body As    to something besides Original HTML.
> 
> If in fact that is what you have done, please mark this bug:  Resolved |
> Invalid

Sorry, Mike no.
I have "Original HTML" set and I have tried with both "Display Inline" ON
or OFF.

I have even created a new account, ie wiped the thunderbird profile dir.
Still no images.

I have tried on Linux AND Windows and BOTH cases no images.

I have tried on different Windows boxen AND different Linux boxen.

I have tried sending it to different accounts on different machines.

No. No images.
Bummer!

The reason why I am trying hard is we get a lot of business based mail
that have a little more fancy headers/footers and it does not work
on ANY of our machines.

I do not know why.

I am currently running "regmon" and "filemon" (sysinternals) to find out
whether thunderbird cant find something.

The other sysadmin is currently trying to do logging in thunderbird.


jobst

(In reply to comment #2)
> Created an attachment (id=193580) [edit]
> Image of how message appears (reduced size)
> 
> This message appears just fine to me.  If I had to guess, I'd guess that you
> have set    View | Message Body As    to something besides Original HTML.
> 
> If in fact that is what you have done, please mark this bug:  Resolved |
> Invalid


I actually figured it out what the problem is, but it is NOT resolved as I do
not know whose at fault with this one, sendmail/mimedefang/thunderbird ????

I compared the outgoing mail and incoming mail (using diff) and the ONLY place
they differ is the Content-type HEADER!

What happens is that the CONTENT-TYPE header gets changed in my mailserver setup
(and btw anybody else using a milter based sendmail server running mimedefang
amongst other things, this might even clear some other bugs I read about re
image problems and thunderbird @ bugzilla).

When I send the email it gets save in the SENT box and the images are displayed
correctly clicking on the inbox. Going through our sendmail based mailserver
using about 6 milters the CONTENT-TYPE header is changed:

........................................................................
Aug 24 14:33:00 sendmail[23835]: j7O4WxqI023835: Milter change: header
Content-Type: from multipart/related;\n
boundary="------------030706090001050109080902" to multipart/mixed;
boundary="------------030706090001050109080902"
........................................................................

and that renders it unreadable by thunderbird as thunderbird expects to
see "multipart/related".

Mind you reading

 http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html

this seems correct.


What do I do now???????????????????

(In reply to comment #2)

Solved! David F. Skoll from Roaring Penguin informed me, that it was a bug in 
earlier versions of Mimedefang.

I have changed version to 2.52.
That fixed the problem it was changing the header from "related" to "mixed".

Maybe the header thing will fix some other bugs people are having regarding
not being able to forward images etc?

Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
(sorry for the delay)
Reopened to fix resolution.  Please do not mark bugs "FIXED" unless someone has 
actually fixed it -- that is, unless you can point to a patch that resolved the 
problem.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: