Search code examples
javascripttemplatesoutlookmessage

Invoke an Outlook compose from a website?


I am trying to see if there is any way to invoke/start Outlook compose from a website (html/javascript). In additional, it would need to use a template.

For example: I click on a button on a web page, it will start the Outlook compose message window and have a bunch of stuff in the body of the message ready (including a signature image).

I know that there is <a href="mailto:...."/> but that doesn't allow images in the body (since it only takes a string for the body parameter).

Any suggestion is appreciated.

Thanks :)


Solution

  • Anything other than mailto: would be a security risk. Browsers should never launch apps.