Closed Bug 191351 Opened 22 years ago Closed 21 years ago

Images sometimes don't display when sent to AOL mail client, when img tag is word wrapped in mail source

Categories

(MailNews Core :: MIME, defect)

x86
Other
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugzilla2, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3b) Gecko/20030130 Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3b) Gecko/20030130 JPG or GIF images inside tables in a mail message show as missing graphics when received by AOL 6.0 client. Messages sent from Outlook do not have this problem. Images that are not inside tables seem to be OK. Reproducible: Always Steps to Reproduce: 1. Compose a new mail message 2. Insert a table (1 x 1 cells will do) 3. Insert a GIF or JPG in that table. Insert another GIF or JPG outside the table. 4. Send the message to an AOL 6.0 user 5. Open the message in the AOL mail client Actual Results: The image inside the table is not displayed on the AOL client. The image outside the table is fine Expected Results: The mail should be displayed as sent, an as it looks if sent from other mail software to AOL 6.0 I don't think this is a new problem, it's existed in versions of Mozilla for months. I just managed to narrow it down to this simplified case. Anytime I want to send an email that I know will be received the way I intended, I have to send it from Outlook Express.
Marking nsbeta1. This problem also occurs when viewing the message in AOL 8.0.
Keywords: nsbeta1
Summary: Images inside tables don't display when sent to AOL 6.0 client → Images inside tables don't display when sent to AOL 8.0 client
Mail triage team: need info. Is this an editor issue?
Whiteboard: [need info]
Can someone attach/paste the source that works from outlook?
Mail triage team: nsbeta1-
Keywords: nsbeta1nsbeta1-
Whiteboard: [need info]
Upon further testing, I think I have narrowed it down to situations where the IMG tag is word wrapped in the mail source, with an embedded newline (CR/LF). The following ALWAYS FAILS to display the image when sent to either AOL 6.0 or AOL 8.0 (the only 2 versions I have to test): -------------------------------------------------- </head> <body text="#000000" bgcolor="#ffffff"> <font face="Helvetica, Arial, sans-serif"><img src="cid:part1.07090802.00040301@earthlink.net" title="" alt="" width="600" height="140"><br> -------------------------------------------------- (note there is a line break (CR/LF) and a space after "<img" and before "src=..." The contents of the src URL doesn't seem to matter. The following always works: -------------------------------------------------- </head> <body text="#000000" bgcolor="#ffffff"> <font face="Helvetica, Arial, sans-serif"><br> <img src="cid:part1.06060306.06010209@earthlink.net" title="" alt="" width="600" height="140"><br> -------------------------------------------------- (note the IMG tag is not split) It has nothing to do with being inside a table, as first described, other than the fact that the <td> forced the img tag to be split, like this: -------------------------------------------------- <table cellpadding="2" cellspacing="2" border="1" width="100%"> <tbody> <tr> <td valign="top"><img src="cid:part2.06090809.07050507@earthlink.net" title="" alt="" width="80" height="100"><br> -------------------------------------------------- placing a break in the table before the image solved the problem: -------------------------------------------------- <table cellpadding="2" cellspacing="2" border="1" width="100%"> <tbody> <tr> <td valign="top"><br> <img src="cid:part2.06090809.07050507@earthlink.net" title="" alt="" width="80" height="100"><br> -------------------------------------------------- Steps to Reproduce: 1. Compose a new mail message 2. Insert an image file at the very top of the message. 3. View the source of the message, you should see something like the first code sample above. 4. Send to an AOL mail account. You will see a broken link icon, no image. 5. Insert a line break before the image and look at the source again, you should see the img tag without a line break. 6. Send to an AOL mail account. You will see the image correctly.
Changing the summary, which was previously: Images inside tables don't display when sent to AOL 8.0 client
Summary: Images inside tables don't display when sent to AOL 8.0 client → Images sometimes don't display when sent to AOL mail client, when img tag is word wrapped in mail source
Not sure if this is the same problem, but FREQUENTLY when I send mail from Mozilla to other clients like OE or Juno, the receiver can see the image, but WHEN THEY FORWARD THE MESSAGE, THE GRAPHIC IS NOT SEEN BY THE NEXT RECIPIENT.
CCing Ninoschka & Samir since new info has been added. This seems like a major bug to me. Data is lost sending to people at AOL. Just tested it again with 2003051408.
This may be a major bug, but if the problem is that the AOL client can't read an <IMG> tag that's legally broken by a newline, the bug is in the AOL client. Comment 7 also sounds like it's describing some other programs' bugs, and is very unlikely to have anything to do with this bug. (Mozilla does suffer from a similar bug or two of its own, notably bug 2903.)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.