Re: [PHP-WIN] Can't figure out how to fix this code...please help

2002-05-17 Thread Alan Brown
.ini or you will need to load the type library manually to define the constant properly. Alan. - Original Message - From: "Scott Hurring" <[EMAIL PROTECTED]> To: "Php-Win (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, May 17, 2002 15:44 Subject: RE: [PHP-WIN] Can

RE: [PHP-WIN] Can't figure out how to fix this code...please help

2002-05-17 Thread Scott Hurring
erhuth [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 3:42 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Can't figure out how to fix this code...please help > > > This is my code: > > > $objApp = new COM("Outlook.Application"); > $myItem =

[PHP-WIN] Can't figure out how to fix this code...please help

2002-05-17 Thread R.S. Herhuth
This is my code: CreateItem("olMailItem"); $a=$myItem->Recipients->Add("[EMAIL PROTECTED]"); $myItem->Subject="This is a test"; $myItem->Body="This is a Body Section now.!"; $myItem->Display(); $myItem->Send(); ?> This is the error I'm getting... Warning: Invoke() failed: Type mis