Skip to content

Instantly share code, notes, and snippets.

@MadMacMad
Forked from karlhorky/signature.scpt
Created November 1, 2020 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MadMacMad/5122b2979cc59bb01421fa38bdcdba82 to your computer and use it in GitHub Desktop.
Save MadMacMad/5122b2979cc59bb01421fa38bdcdba82 to your computer and use it in GitHub Desktop.
Add HTML Signature to Outlook 2016 on macOS without Attachment Bug
#!/usr/bin/osascript
-- To fix error with Outlook 2016 HTML signature images showing up as attachments
-- Ref: http://mydesignpad.com/how-to-create-an-attractive-html-email-signature-for-microsoft-outlook-2016-for-mac/#comment-36065
-- To use, add your signature name (under `name`) and signature (under `content`) and paste and run this code in Script Editor
tell application id "com.microsoft.Outlook"
make new signature with properties {name:"Google Signature", content:"<table><tr><td><img src='https://www.google.de/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png' width='120' height='44'></td></tr></table>"}
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment