2

We have email signatures as .html file (containing embedded images in base64).

We can import these files easily, for example, in Thunberbird, with "Attach the signature from a file instead", and then we choose the .html file: it works.

How to use this .html file as signature in Apple Mail?

I already tried this:

  • open the .html file in browser
  • CMD + C
  • go in Apple Mail App, create a new Signature
  • CMD + V

Problem : only the text is pasted, no HTML rendering is applied. No image is pasted.

1 Answer 1

2
+50

For some reason Apple hasn't implemented this as a feature in Apple Mail, but it is possible, by a rather long-winded process, to add an HTML signature manually:

  1. Add a new signature in Mail Settings, and give it some placeholder text in the right-hand pane.
  2. Still in Mail Settings, drag the signature to your email account and select the signature in the Choose Signature list at the bottom.
  3. Quit Mail.
  4. In Finder, open the folder ~/Library/Mail. If your user Library isn't visible (it's hidden by default and Apple recommends keeping it hidden), you can copy that folder path and paste it into Finder's Go To Folder dialog box, accessible from the Go menu.
  5. You'll see one or more folders named V<num>, where <num> is a number (for instance, V10). Open the folder with the highest number after the V.
  6. Open the MailData folder and then the Signatures folder.
  7. View the folder in Details view and find the newest file whose name ends in .mailsignature. Right-click it and open it with TextEdit or a text editor of your choice.
  8. Copy all of the HTML code of the signature you want to import, then in the .mailsignature file select everything from and including the text <body> on down. Then paste your signature.
  9. Save the .mailsignature file and close it.
  10. Right-click the .mailsignature file, choose Get Info, and tick the box marked Locked, to prevent Apple Mail overwriting your signature.
  11. Open Apple Mail and check the signature. If it doesn't look as expected repeat the steps above, paying extra attention to steps 3, 8 and 10.

Source (with screenshots): How to add an HTML signature in Apple Mail (2023)

2
  • 1
    Thanks! About step 8. "copy the entirety of the signature you want to import", do you mean "copy the HTML code, including html tags <i> etc.", or copy it as "rich text"?
    – Basj
    Commented Mar 20 at 10:30
  • Yes, the HTML code @Basj Commented Mar 20 at 13:58

You must log in to answer this question.

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