A few months ago in my “pre-packaged Apple apps vs. Mozilla equivalents” round-up, I made mention of how Apple’s Mail (or the dreaded “Mail.app” if you prefer) application had mediocre signature support. My criticism went something like:
Pain in the butt. Can’t reference external files and what’s worse, you can’t edit the HTML source of the sig. So those fancy inline CSS styles you wanted to use are pretty much out. (You can copy/paste them in but chances are you’ll lose half of what you wanted.) -1
This has turned out to be only partially true. Through some of my toying around, I discovered that if I created an external HTML file, opened it in Safari, copied from there, then pasted into Mail’s signature edit window I would get a close approximation of what I’d created. It might add an extra line break in the process or otherwise “re-interpret” my code but it seemed a small price to pay.
This led me to the conclusion that Mail was using WebKit to render the HTML in email messages. (No surprises there.) But big deal right? Anyone could have arrived at that conclusion and it still doesn’t change the fact that Mail doesn’t have robust support for your fancy CSS-based signatures.
Until I stumbled across this article about the problem over at AllForces.com. Full details are over there but I’ll break down the short version here:
- Make your signature in your favorite text editor (use in-line CSS styles)
- Open it in Safari
- Save as “Web Archive”
- Find your existing crappy signature’s filename (hint: it’s in ~/Library/Mail/Signatures)
- Rename that Web Archive from Safari to the one Mail gave to your previous crappy signature
- Copy the renamed Web Archive from wherever you saved it to the Signatures folder and be done with it
I still want a Camino-equivalent of Mail. But for now, I’ll take this.