Funciones COM
| From: | Ing. Hugo S. Orta Hernandez | Date: | Tue, 28 May 2002 16:33:33 +0000 |
| Subject: | Funciones COM | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-23166@lists.php.net to get a copy of this message | ||
Hola a todos estoy tratando de utilizar las Funciones COM pero siempre me
marca este error
Warning: Unable to obtain IDispatch interface for CLSID
{0006F03A-0000-0000-C000-000000000046}: Server execution failed in
e:\program files\apache
group\apache\htdocs\desarrollo\html\pruebas\correo.php on line 2
Fatal error: Maximum execution time of 60 seconds exceeded in e:\program
files\apache group\apache\htdocs\desarrollo\html\pruebas\correo.php on line
2
realmente no se si es falta de configuracion o un error en el codigo .... el
codigo es el siguiente ..
<?
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olMailItem);
$a=$myItem->Recipients->Add("horta@p24dc.acne.cenace.com");
$myItem->Subject="Subject";
$myItem->Body="This is a Body Section now.....!";
$myItem->Display();
$myItem->Send();
?>