Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Outlook messages PHP

stutleystutley Posts: 2Member
[b][red]This message was edited by stutley at 2006-1-18 8:0:36[/red][/b][hr]
Hi All,

I just read this article:

http://www.programmersheaven.com/articles/Bogomil/art.htm

Unfortunately, I am not that experienced in that type of programming.

I get this error:

Fatal error: Cannot instantiate non-existent class: com in [path stripped by me]..COutLook.php on line 94

Line 94 reads:

$oOutlook = new COM("Outlook.Application");

..which is in the function getUnreadinInbox.

But I have no idea what this means and what should be done? :D


Comments

  • tvientitvienti Posts: 230Member
    Reference: http://sg.php.net/manual/en/ref.com.php

    Odd, PHP should come with COM bundled and ready to roll. What version of PHP are you running? what OS?

    T

    : [b][red]This message was edited by stutley at 2006-1-18 8:0:36[/red][/b][hr]
    : Hi All,
    :
    : I just read this article:
    :
    : http://www.programmersheaven.com/articles/Bogomil/art.htm
    :
    : Unfortunately, I am not that experienced in that type of programming.
    :
    : I get this error:
    :
    : Fatal error: Cannot instantiate non-existent class: com in [path stripped by me]..COutLook.php on line 94
    :
    : Line 94 reads:
    :
    : $oOutlook = new COM("Outlook.Application");
    :
    : ..which is in the function getUnreadinInbox.
    :
    : But I have no idea what this means and what should be done? :D
    :
    :
    :

  • stutleystutley Posts: 2Member
    The server is running Linux. And as I can see in the documentation, that is apparently the problem - "COM functions are only available for the Windows version of PHP.". So, error is explained, I guess - I will try on a Windows server :)
Sign In or Register to comment.