#932 ✓resolved
Phil Stone

Stylesheets

Reported by Phil Stone | October 18th, 2014 @ 04:16 PM

I am a brand new user and loving Mailmate so far.

Could someone please tell me how I can use stylesheets to modify how my emails look. When I have created a stylesheet do I have to save it as a .css document in ~Library/Application Support/MailMate/Resources/MmMessagesWebView or have I got the wrong location.

If someone could point me to some examples of Mailmate stylesheets so that I can appreciate what can be done that would be fantastic.

Thank you.

Phil

Comments and changes to this ticket

  • benny

    benny October 20th, 2014 @ 01:04 PM

    • State changed from “new” to “resolved”

    Thanks for trying out MailMate.

    The location is correct, but you also need to use the stylesheet.css filename:

    ~/Library/Application\ Support/MailMate/Resources/MmMessagesWebView/stylesheet.css
    

    Currently, the best example is probably the default file:

    MailMate.app/Contents/Resources/MmMessagesWebView/stylesheet.css
    

    Please share if you create an alternative.

    Note that these stylesheets only affect what is displayed in MailMate (plain text messages). They do not style the messages you send (I'm working on such a feature, but it's not ready yet).

  • Anthony Craig

    Anthony Craig March 6th, 2018 @ 10:52 PM

    Question: when we want to affect how the emails look in MailMate.app, should we use the stylesheet called stylesheet.css

    located

    ~/Library/Application\ Support/MailMate/Resources/MmMessagesWebView/stylesheet.css
    

    or, should we use html_stylesheet.css

    located

    ~/Library/Application\ Support/MailMate/Resources/MmMessagesWebView/html_stylesheet.css
    
  • benny

    benny March 7th, 2018 @ 09:42 AM

    The first one affects plain text (including Markdown) emails for which MailMate generates HTML before displaying it.

    The second one should affect all displayed emails.

    Neither affects outgoing emails.

  • David Wells

    David Wells June 23rd, 2021 @ 12:10 AM

    So I tried the simple "green" stylesheet.css example, created the directory, and placed in

    ~/Library/Application\ Support/MailMate/Resources/MmMessagesWebView/stylesheet.css

    as instructed. Maybe something has changed since 2014, but after restarting a few times, still no effect?

    David
    MB w/MacOS Big Sur 11.4

  • Anthony Craig

    Anthony Craig September 5th, 2021 @ 01:46 PM

    benny, it looks like some things have changed. Nothing I do to the stylesheets located here:

    /Users/Anthony/Library/Application Support/MailMate/Resources/MmMessagesWebView/stylesheet.css
    

    or

    /Users/Anthony/Library/Application Support/MailMate/Resources/MmMessagesWebView/html_stylesheet.css
    

    ...do anything anymore :/

    I noticed there's a new file here:

    /Applications/MailMate.app/Contents/Resources/css/stylesheet.css
    

    ...which is maybe trumping things now?

  • phph

    phph November 5th, 2021 @ 12:02 PM

    @Anthony Craig

    I had the same problem after updating to BigSur and then MailMate Version 1.14 (5818).

    In a comment on ticket #2816 Benny mentions the new main.css. I was successful in using it to get the messages to be formatted the way I like it.

  • benny

    benny November 14th, 2021 @ 10:33 AM

    @phph: This is correct. It might change again though.

    Right now, there's also headers.css and details.css, but ideally these won't be HTML views at all some day in the future (for performance reasons).

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages