note 28144 rejected from ref.com by nicos
| From: | nicos@php.net | Date: | Fri, 03 Jan 2003 20:19:53 +0000 |
| Subject: | note 28144 rejected from ref.com by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41631@lists.php.net to get a copy of this message | ||
I cant get the above code of ....
<?
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olMailItem);
$a=$myItem->Recipients->Add("admin@purplerain.org");
$myItem->Subject="Subject";
$myItem->Body="This is a Body Section now.....!";
$myItem->Display();
$myItem->Send();
?>
... to work properly. I am on windows 2000 and office 2000 and keep getting the following error.
Warning: Unable to obtain IDispatch interface for CLSID {0006F03A-0000-0000-C000-000000000046}:
Server execution failed in d:\serve\www\test\send_outlook\index.php on line 2
Fatal error: Maximum execution time of 30 seconds exceeded in
d:\serve\www\test\send_outlook\index.php on line 2
Anybody have any good hints?