Skip to content

Instantly share code, notes, and snippets.

@karlhorky
Last active April 28, 2023 17:16
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save karlhorky/2c5ca58ac445e243fdaedd5496383ab1 to your computer and use it in GitHub Desktop.
Save karlhorky/2c5ca58ac445e243fdaedd5496383ab1 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