http://qs1969.pair.com?node_id=225548


in reply to Re: Outlook on web page.
in thread Outlook on web page.

Thanks for all the information. I am running this on a NT server and would like to just start getting it to work on my local workstation. I tried this in my local cgi bin and cant get it to work yet it works when I run it in DOS:
my $outlookmail = "c:/Program Files/Microsoft Office/Office/Outlook.ex +e" ; open (CMDLOG,"| $outlookmail") || die "failed to open: $!\n"; close CMDLOG || die "failed to close: $!\n";;
Anymore suggestions?

Replies are listed 'Best First'.
Re: Re: Re: Outlook on web page.
by iguanodon (Priest) on Jan 10, 2003 at 14:06 UTC
    Like others in this thread I have to question what your goal is here, and you haven't stated it clearly. While the above code will start an Outlook client, I don't see the point of doing this from a CGI or any Perl script. That's what the start menu is for :).

    Now, if your goal is to have your Perl script make Outlook actually do something besides show the GUI, you should look at Win32::OLE. Note that to make use of this module, you will have to understand the Outlook object model.