note 28144 added to ref.com
| From: | richard at richard-sumilang dot com | Date: | Fri, 03 Jan 2003 18:06:43 +0000 |
| Subject: | note 28144 added to ref.com | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41612@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?
--
http://www.php.net/manual/en/ref.com.php
http://master.php.net/manage/user-notes.php?action=edit+28144
http://master.php.net/manage/user-notes.php?action=delete+28144
http://master.php.net/manage/user-notes.php?action=reject+28144