Re^3: Problem in installation of libwin32-0.191
by davorg (Chancellor) on Dec 10, 2004 at 14:15 UTC
|
Umm... well you can't run Outlook on a non-Windows box so I'm not sure how you thought that was going to work anyway.
Can't you talk directly to your Exchange server (or whatever your email server is) with one of the POP3 modules or something like that?
--
< http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
| [reply] |
|
|
Hi,
i didnt mean that i want to run Outlook in non -windows box but i want access mails which are in Outlook using Perl ,so i am in need of this package installed .
yes i can access mails in my POP3 server using Perl(Net::POP3).
Thanks,
Gokul
| [reply] |
|
|
| [reply] |
Re^3: Problem in installation of libwin32-0.191
by castaway (Parson) on Dec 10, 2004 at 14:17 UTC
|
You've misunderstood something then. Win32::OLE is just an interface to Windows OLE services. That is, in order to use it, you actually need the application installed as well. None of this applies to Unix/Linux boxes, it just won't work, I'm afraid.
What exactly are you trying to access in Outlook? And why via perl on a unix box, can you not install perl/libwin on the Windows box that Outlook is running on?
C. | [reply] |
|
|
Hi,
We got some automation stuff which needs us to access the subject of each mail and run scripts according to that..
That i have to do using perl..
so i am trying this option of installing libwin32-0.191 and use Win32::OLE
Thanks,
Gokul
| [reply] |
|
|
We got some automation stuff which needs us to access the subject of each mail and run scripts according to that.
Aha. No we know what you're actually trying to achieve, we can probably help a bit more.
You should have these emails sent to an email address which is delivered to a username on the Unix box. You can then use something like Procmail to pass the contents of the email to a Perl program which can parse it and take appropriate action.
--
< http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
| [reply] |
Re^3: Problem in installation of libwin32-0.191
by herveus (Prior) on Dec 10, 2004 at 14:14 UTC
|
Howdy!
I'm not sure how you would do that. What you won't make work is to install libwin32 on a unix box. As it says in the README:
As the name suggests, all modules in this distribution are Win32-specific.
They cannot be used on platforms that do not support the Win32 API.
Have you tried searching CPAN for other possible solutions?
yours,
Michael (a Mac and Unix guy)
| [reply] |
Re^3: Problem in installation of libwin32-0.191
by gellyfish (Monsignor) on Dec 10, 2004 at 15:43 UTC
|
Ah. If you must run your program on unix you have a number of possible options. If by 'Outlook' you mean mail that is being held in the Exchange server and accessed via Outlook, then you can get access to the messages using the module Email::Folder::IMAP. Or if you are really set on going the OLE Automation route (or you are feeling particularly evil) then you could use 4S4C on a Windows machine to expose the appropriate COM interface via SOAP which can then be accessed from any system that you want via SOAP::Lite in your perl program. /J\
| [reply] |