How to Make an HTML Signature in Apple Mail for Yosemite OS X 10.10
Looking for Sonoma instructions?
Looking for Ventura instructions?
Looking for Monterey instructions?
Looking for Big Sur instructions?
Looking for Catalina instructions?
Looking for Mojave instructions?
Looking for High Sierra instructions?
Looking for Sierra instructions?
Looking for El Capitan instructions?
There are plenty of tutorials online to create an HTML signature in Apple Mail with older versions of OS X, and you have probably already seen one of my tutorials on how to add HTML Signatures in Lion, Mountain Lion, iOS 7 or Mavericks, but the process has changed slightly for the new OS X Yosemite (10.10). Here is how to do it:
-
In Apple Mail, go to
Preferences
>Signatures
and create a signature with any random content. Name it something meaningful in the central column. You will be swapping this out later. -
Associate the placeholder signature with one of your email accounts by dragging its name from the second column in the
Preferences
>Signatures
window to an email account in the first column. -
Close the
Preferences
window to save it, then Quit Apple Mail. -
Write an html page inside of your favorite text editor. I use TextMate 2. Please do NOT use Microsoft Word, Dreamweaver or any other "smart" editor as these editors will manipulate your final code in a way which will most likely break your design for certain recipients.
The page should not have
Here is some example code to get you started.html
,head
orbody
tags, should include only inline css, and should only consist of basic html elements (div
,span
,img
,a
, etc...).If you need additional help with html signature design or implementation, I have created a company called GiantUser (it's an anagram of "signature") to do just that with very reasonable prices. Check it out!
-
We are going to need to locate the folder containing the placeholder signature. Unfortunately, you are not going to be able to use Finder to get to these folders.
Apple goes to great lengths to hide these files from people as they usually contain info that is not editable by hand. Trying to navigate through by clicking in Finder will usually lead you to your visible
iCloud Drive
folder with nowhere to go. Don't worry though, I will walk you through an alternative method of getting at those files.The files can be in 3 different places depending on whether you are using iCloud Drive, iCloud without Drive, or no iCloud at all. If you know which one you are, great! If you don't, start with the top one and work your way down if you can't find the folder.
Using iCloud Drive:
Not using iCloud Drive, but still using iCloud:
Not using iCloud:
Open Terminal.app, found in
Using iCloud Drive:Applications > Utilities
, paste the following line into the box and press enter
Not using iCloud Drive, but still using iCloud:
Not using iCloud:
This line tells Terminal to list all the files in this directory along with some other file info, then sort it by date. When you press enter you should see a bunch of lines, each of which corresponds to a file and some of its metadata. Look at the right side column — the file names — and notice some that start with
ubiquitous_
and end in.mailsignature
. These are the files we are interested in working with.If you get an error, make sure you pasted the line in exactly like shown on one line. If you still get an error, try the next path on the list above.
As mentioned above, we could normally use Finder to view these folders, but Apple has hidden access to them to prevent direct editing, something we wish to do here. If you have only 1 ubiquitous mailsignature file, then this is most likely the placeholder file you created in step 1. If you have more than one mailsignature file in there, then you need to find the one you created in step 1. Because this list is sorted top-down by the most recently updated, it will most likely be the top one, but you can check by opening them all and seeing ther contents.
Terminal.app does not respond to double-clicking the file so how can you open the mailsignature files? You can copy/paste the following command on the keyboard, all on one line.
Using iCloud Drive:
Not using iCloud Drive, but still using iCloud:
Not using iCloud:
This line tells Terminal to open all files in that directory that have a filename that starts with
ubiquitous_
and ends withmailsignature
, and to open them using the TextEdit application.Once you have these files open in TextEdit, move on to next step.
-
When you created a temporary placeholder signature in step 1, Mail automatically created a
ubiquitout_XXXXXXX.mailsignature
file that represents it. This placeholder now should be open in TextEdit.If you have more than one
ubiquitout_XXXXXXX.mailsignature
files open in TextEdit, we have to find the right one. To help ensure you have the right file, look the one you think is your placeholder in TextEdit. You should see the placeholder text you entered in step 1, along with other code and metadata.If you cannot find the placeholder, you may still be in "edit" mode on the signature. Try closing the
Mail
>Preferences
Window, quitting Apple Mail and opening the files using the process outlined in the previous step.If you still cannot find the placeholder, you may need to try one of the other iCloud Drive, iCloud or no-iCloud folders from the above step.
-
When you have located the right placeholder
.mailsignature
file, keep it open and close all other TextEdit windows. You will see a few metadata lines on the top of the file and some html code below it. Select the placeholder code. -
Keep the top metadata lines, but replace the html in the file with your own from step 2.
- Save and close the file.
- If you are using iCloud or iCloud Drive, skip this step and proceed to the next step. You can determine if you are using iCloud for Apple Mail by checking System Preferences > iCloud. Still unsure? Skip this step — you can redo the steps and include this one if your signature is not working correctly at the end. Even though you save this file, Apple Mail may use the original version and overwrite your new signature unless you lock the file. With your text editor now closed and the file saved, find it again in Finder and press command-i to bring up the info pane for the file. On this info pane, mark the "Locked" checkbox.
-
Open Apple Mail and go back to
Preferences
>Signatures
. If you have images in your signature, they will will not show here in the preview, but they will show in the real signature if the image source location is valid. - To test that it is working correctly, simply compose a new email using the account you associated this signature with in step 2, and set the signature (right side of screen) to be the one with the name you created in step 1. If the images show, and everything looks as it should, you have succeeded!
Was this page helpful for you? Buy me a slice of 🍕 to say thanks!
Comments