HTML signature with Apple mail client

Create a signature in the settings and add some placeholder text. Then close the mail client. The placeholder text will be replaced with html later.

You will need the html code you want to use as signature. So have it ready to paste it later.

Got to ~/Library/Mail/V10/MailData/Signatures and check which of the .mailsignature files is the one you want to change. For every signature saved in the mail client there is such a file. Just check the content. Open the right file and replace the html after the header. Everything above that empty line is the header. Here a sample that illustrates this:

Content-Transfer-Encoding: 7bit
Content-Type: text/html;
charset=us-ascii
Message-Id: <12341234-1234-1234-1234-123412341234>
Mime-Version: 1.0 (Mac OS X Mail 16.0 (xxxx))

<old content>

Leave everything as is and replace all text “<old content>” with your new html. Save the file. The right click it and click “Get Info” and there you need to select “Locked”. Otherwise the mail client will overwrite the content and not use it.

With the file locked, open the mail client and you will have your html signature ready to use.

#Apple #MailClient #AppleMailClient #HTMLSignature