4

I have a gmail account setup as IMAP in Apple Mail and recently some new emails coming through have displayed the plain text version instead of HTML. If I check the same email through gmail.com it shows the HTML fine but back in Mail I can't even change it to HTML under View -> Message -> Next Alternative.

This solution did not work for me: defaults write com.apple.mail PreferPlainText -bool FALSE

I'm running Apple Mail 5.2 on Mac OS 10.7.3

I have just found that the same email message will show HTML when viewed in the All Mail Folder but not when viewed in the Inbox.

7
  • I use the same setup (IMAP, Mail.app, GMail) but don't have this problem. Can you post the Raw Headers of an example email that shows up plain in Mail but HTML in GMail? Apr 25, 2012 at 12:53
  • 1
    Have you done View > Message > Raw Source in Mail and verified that the incoming messages where this happens actually do include the html version when they get to your machine? Apr 25, 2012 at 13:07
  • @Avry I'm only seeing this with some emails e.g. ebay and amazon. The key part of the headers: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_161163_12044293.1335349020081" Apr 25, 2012 at 13:54
  • @TomGewecke Yes, and they do. Apr 26, 2012 at 13:16
  • 4
    And for some reason you consider displaying plain text over HTML a bug rather than a feature? :-)
    – Daniel
    Dec 11, 2012 at 20:55

3 Answers 3

1

I opened ~/Library/Preferences/com.apple.mail.plist in Xcode and searched for PreferPlainText. It seems to want either YES or NO as a value.

I set it to NO and saved, then relaunched Mail.app.

HTML (Rich Text) mail is back.

-1

I have a solution for this but not a reason on why it happens. To solve the problem, you must delete the ".OfflineCache" folder found in "User/Library/Mail/V2/IMAP-{youremail}/".

Note the folder is hidden (even Library is hidden), so you'll need to use this terminal command to show hidden files:

defaults write com.apple.finder AppleShowAllFiles YES

You'll need to restart the Finder to make the command work, by the way.

2
  • not working for me
    – GJ.
    Dec 6, 2012 at 15:33
  • 2
    If you're using Terminal, you might as well just rm -rf ~/Library/Mail/V2/IMAP-{youremail}.
    – Nathan
    Dec 13, 2012 at 0:59
-1

I just hit rebuild in the "Message" drop down menu and it solved it for me

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .