Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

macOS High Sierra Blank Emails from PayPal

#1837

Hi Benny.

In preparation for the upcoming macOS upgrade, I have installed macOS High Sierra 10.13 Beta (17A362a). In general MailMate Version 1.9.7 (5419) is working fine, however I have come across a strange phenomenon with recent emails from PayPay where the entire body of the email is blank. Some time in March 2017 something must have changed with them as all emails prior to that time are ok. The later emails are ok in Apple Mail. I've attached two exported messages, 2017-03-08-b1f4dd42a90c07df.eml displays ok 2017-03-10-0b14a5fca0fdd2c1.eml is blank. Any ideas?

Thanks.

Reported by vic239 · September 22nd, 2017 @ 08:20 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    Do you have reason to think this is a High Sierra issue? (I've only tried to reproduce it on Sierra and I don't see any problems.)

    The emails are HTML only (bad behavior of PayPal), but this shouldn't be a problem. Do you use any of the “prefer plain text” related settings in MailMate?

    September 23rd, 2017 @ 08:35 AM

  2. vic239
    vic239

    The reason I think it is a High Sierra issue is that I only see it when running High Sierra (I have a cloned High Sierra partition so can switch easily). Like you running Sierra the emails display ok. I also have the beta running on a Macbook which has the same issue.

    I don't have the "Prefer plain text" option checked.

    September 23rd, 2017 @ 08:46 AM

  3. benny
    benny

    Thanks, I'll reboot in High Sierra later and see if I can reproduce it. (It's just surprising that there should be a difference.)

    September 23rd, 2017 @ 08:47 AM

  4. benny
    benny
    • State changed from new to reproduced

    I can reproduce the issue, but I don't have any idea why this happens yet. I'll look into it now.

    For privacy reasons I'll delete the attachments. I have a local copy.

    September 28th, 2017 @ 07:39 AM

  5. benny
    benny

    I am, by the way, only seeing the issue with the second attachment.

    September 28th, 2017 @ 07:40 AM

  6. vic239
    vic239

    Ok thanks benny, that’s the same as I see here.

    All emails from PayPal including and before (chronologically) the good one display ok and all subsequent ones are blank just the light grey frame where the body would appear.

    September 28th, 2017 @ 08:46 AM

  7. benny
    benny

    I've now reduced the problem to the following HTML code:

    <html>  
    <head>  
    <style type="text/css">  
        td { line-height:22px; }
    </style>  
    </head>  
    <body>
    
    <table>  
      <tr>
        <td style="font-size:0px;"> </td>
      </tr>
    </table>
    
    This is not displayed...
    
    </body>  
    </html>
    

    A font size of 0, a styled line height of 22 and a non-breaking-space in a table are in play here. It's possible that it can be further reduced.

    Now, I tried to reproduce this issue in a clean new Xcode project and I cannot do that. Something I do in MailMate somehow triggers this bug in the WebView, but this is hard to track down and it might not even be something I can change. I'll give it some more thought.

    September 28th, 2017 @ 01:28 PM

  8. benny
    benny

    For the record, I tried updating to 10.13.1 (developer preview). It did not fix the issue. I'll explore other options. It's a surprisingly frustrating bug :)

    September 28th, 2017 @ 02:28 PM

  9. benny
    benny
    • State changed from reproduced to fixcommitted

    I forgot to update this ticket when making a workaround for this problem on High Sierra. It's a pretty bad workaround involving searching/replacing font-size:0 with font-size:1, but it'll have to do for now.

    Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane.

    October 5th, 2017 @ 07:32 PM

  10. vic239
    vic239

    Perfect, thanks Benny. Sorry to have given you such a tricky issue.

    October 5th, 2017 @ 08:36 PM

  11. benny
    benny

    That's not your fault. I'm just sorry that I couldn't find a better fix...

    October 6th, 2017 @ 08:33 AM

  12. benny
    benny
    • State changed from fixcommitted to fixreleased

    October 21st, 2017 @ 03:32 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.