Author Topic: problem with line break  (Read 19172 times)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: problem with line break
« Reply #15 on: May 15, 2014, 02:19:55 am »
If you still have those messages saved somewhere, yes, it would help a lot.

Let's try some other account so it doesn't get lost: kmansoft / fastmail.fm

Thanks in advance.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

littlepriest

  • Newbie
  • *
  • Posts: 5
Re: problem with line break
« Reply #16 on: May 17, 2014, 01:08:00 am »
I've done some more testing and sent you a separate mail intending to include some attachments from Outlook, but then I realized I lost the original "Outlook.pst" file that had the attachments I sent you back in January when I changed computers. And it's taken so long to do this newest testing that I wanted you to first see what I found out first and maybe the Outlook stuff you can create more usefully yourself or it might not be necessary. So I'm posting here what I sent in my mail:

I narrowed down the missing-line-breaks problem to where it's now easily repeatable (for me, anyway).

*** First of all, it seems to happen only on emails that originate from Yahoo Mail. If I create the mail in Aqua Mail, there's no problem -- then I can reply to it from either Yahoo Mail or Aqua Mail and the line breaks are always retained.

Also, there's no problem if I reply to a mail I haven't originated in Yahoo Mail that came from outside.

*** Here's how I see the problem:

I tested by first creating and sending a mail to myself from Yahoo Mail (3 lines of text separated by line breaks). When I replied to this mail using Aqua Mail (another 3 lines of text separated by line breaks), that 2nd mail is received in Yahoo Mail without line breaks (only affects the newest text -- old text is unchanged).

However: that 2nd mail shows up in Aqua Mail with the line breaks intact. Did you get that? I see the same mail in AM with the line breaks there, but without breaks in YM.

If I only ever reply to the 1st (original) mail using Aqua Mail, the problem never shows up if I only look at subsequent mails in Aqua Mail. But, open up Yahoo Mail, and all the newest mails sent from Aqua Mail will be shown without line breaks.

Again, a mail originally created by Aqua Mail never shows up without line breaks in Yahoo, even after doing several replies to yourself back and forth in either YM or AM.  The mail seems to have to be created in YM.

Also, any mail replied to using YM will also be ok -- line breaks always intact, though this never fixes the old mails further down the page that came from AM.

*** Bottom line: originating a mail in YM will cause subsequent replies from AM to lose line breaks when the mail is viewed in YM and will stay lost if using YM to reply further, though the new text created in YM will be ok.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: problem with line break
« Reply #17 on: May 19, 2014, 01:49:10 am »
With excellent help from Mr. @littlepriest, we were able to resolve the issue. I'll be posting a new build in an hour or so.

-----------

TL;DR - this is deliberate "feature" of Yahoo web mail, but I have a workaround.
 
I used Chrome to inspect actual CSS properties inside Yahoo web mail, and discovered that their stylesheet has rules to deliberately "collapse" paragraphs, making them show right after each other, with no vertical empty space in between.

That's no accident -- there are multiple rules for this, so they want to be really sure.
 
Once I knew what to look for, it was easy to find these (and there are more):
 
http://www.dirigodev.com/blog/email-marketing-esp/yahoo-webmail-ignores-paragraph-spacing/
 
http://www.email-standards.org/blog/entry/yahoo-drops-paragraph-spacing/
 
I added a workaround to Aqua, to explicitly set after-paragraph margins.

Oh, and what "special" things does Yahoo web mail use for its own messages? <DIV> blocks instead of the standard <P>'s.

That's legal HTML, but the standard way to represent a paragraph is the <P> tag.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/