Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3752014
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:09:21+00:00 2026-05-19T09:09:21+00:00

I want to open Outlook from Javascript, it’s for an internal application, nothing that

  • 0

I want to open Outlook from Javascript, it’s for an internal application, nothing that will ever hit the web. The customer is using IE and Firefox and Outlook will be installed, security is not an issue.

“mailto:” just isn’t sufficient in this case, since the requirement is that I need to attach a file to the mail, it seems that this cannot be done by using “mailto:” (found some old-ish forum entries, but nothing of what I tried worked and it seems that the mailto URL scheme doesn’t officially support it).
But, in IE I can use ActiveX:

var outlookApp = new ActiveXObject("Outlook.Application");

and then I can mess around with it, add a body, add attachments and so on, perfect.

Is something like this possible in any way in Firefox?

What I already knew was that tiddlywiki does some extraordinary things, in that it can save itself somehow on the harddisk. So I looked at the source and found this:

netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");

Which, as I understand gives the Script access to the Browser API/XPConnect/XPCOM. But now I’m stuck. How would I actually open an Outlook object? Would this even be a working approach? I’m not sure. Maybe any other ideas? Any advice would be appreciated.


Update:
ok, after some reading I think I can answer one of my questions with: No, this approach won’t work, since the Mozilla API that’s implementing XPCOM doesn’t support anything like opening an external program.
Still leaves the question: Any other ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T09:09:21+00:00Added an answer on May 19, 2026 at 9:09 am

    Answering my own question with this: Ignore the spec, it’s a bad idea.

    It could be solved with an ActiveX Plugin in Firefox, but actually it’s far better to just not do something like that because of security issues, even if it is only an internal application. Some browser settings need to be changed to get something like that to work, which is risky. And finally, the spec contained a not-use-case here: “upon click of a button, open outlook to send an attached file via email”. The stupid thing is, that there’s actually nobody whom the employees would be allowed to send the file to, apart from other employees which can access the file in the internal network, so it’s far easier (and can also be securily implemented) to just send a link to the file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my application I want to open a file that exists on a client
If you want to open an msg Email file with the extension .msg, Outlook
I want to open a folder window, in the appropriate file manager, from within
On Gnome/KDE you can select in which application you want to open file (Right
I want to create a calendar in my application that external users can view.
I want to open web browser with incoming number/name as parameter when somebody is
I have an html page. On that page I want to open popup window.
I have a FileSystemWatcher that react on the Changed event. I want to open
I want to use a temp directory that will be unique to this build.
I want to open a remote url inside a javascript popup instead of doing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.