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.

Stylesheets

#932

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

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

State: resolved
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • 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).

    October 20th, 2014 @ 01:04 PM

  2. Anthony Craig
    Anthony Craig

    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
    

    March 6th, 2018 @ 10:52 PM

  3. benny
    benny

    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.

    March 7th, 2018 @ 09:42 AM

  4. David Wells
    David Wells

    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

    June 23rd, 2021 @ 12:10 AM

  5. Anthony Craig
    Anthony Craig

    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?

    September 5th, 2021 @ 01:46 PM

  6. phph
    phph

    @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.

    November 5th, 2021 @ 12:02 PM

  7. benny
    benny

    @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).

    November 14th, 2021 @ 10:33 AM

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.