Code Monkey home page Code Monkey logo

apple-mail-sig-setter's Introduction

Apple Mail Signature Setter

Bash script used to quickly set and update a custom HTML signature in Apple Mail.

Description

Setting a custom HTML signature in Apple Mail is usually done by first creating a regular signature in the app itself, and then editing the signature in a hidden folder. This first part still needs to be done manually, but this script will handle the rest of the work, allowing you to simply write the HTML in a separate file and quickly update it when ready.

This script is not very robust or even good at the moment. It finds the appropriate file to edit by searching for the most recently edited one with a .mailsignature extension. This is fine if you just manually created the signature in Apple Mail as described above, but if you start editing other signatures in the app and then run the script, you may unintenionally overwrite your work. This is something I'm hoping to fix in the future.

Notes

  • This currently only works with MacOS Sierra, and does not currently work with iCloud.

Steps

  1. Open Apple Mail
  2. Open Preferences (CMD + ,)
  3. Under Signatures, click +
  4. Name it whatever you want, or leave it as the default
  5. In the same directory as where you've downloaded this bash script, create an HTML file that contains the code for your desired signature
  6. Run bash setsig.sh NAME_OF_FILE.html in the terminal

apple-mail-sig-setter's People

Contributors

csbubel avatar

Stargazers

Dr. Ogg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.