Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Outlook on web page.

by earthboundmisfit (Chaplain)
on Jan 09, 2003 at 13:35 UTC ( #225529=note: print w/replies, xml ) Need Help??

in reply to Outlook on web page.

Perhaps the real question you should be asking yourself is not how to do this but should this be done. Perhaps you have an innocuous need to open a program via a web form, but I know I'd be pissed as hell if a web page attempted this on my box.

Assuming the best intentions, the problem is most likely one of permissions. The web server (IIS??) has limited user rights. You may need to set up a virtual directory to the directory where outlook lives and set the most unrestrictive permissions possible. Not a very wise security practice, but probably possible.

update: I like derby's twist as it gets at the heart of what I was after. I was guessing that the goal might be some sort of a help page intended to get new users accquainted with their mail program, but that makes little sense since Perl would have to be installed locally for that to be feasible. If indeed the intent is to simply send mail via a web form, there are much, much easier ways to accomplish the goal as noted by derby.

---- I am what I read

Replies are listed 'Best First'.
Re: Re: Outlook on web page.
by derby (Abbot) on Jan 09, 2003 at 15:32 UTC
    earthboundmisfit++ for Perhaps the real question you should be asking yourself is not how to do this but should this be done.
    but my twist Perhaps the real question you should be asking yourself is what are you trying to accomplish?

    Looking at your script, I can only guess that your trying to open outlook so you can send mail. Is that correct? (Your use of the pipe leads me to believe this is so). The main issue I have with this approach is that since outlook is a GUI program (unless I'm missing something),you will never reach the close line of your script until someone quits the GUI - something that will tick of your web server admins. If you just want to create a webpage that will send mail to someone, take a look at Mail::Mailer.


    update Are you sure this isn't working in your cgi-script? If your web server is a different machine than your local workstation, after you invoke the cgi-script, walk over to the server and see if outlook has "popped" up on it.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://225529]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2023-06-10 15:44 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (39 votes). Check out past polls.