Re: Funciones COM
| From: | Jaime Chavarriaga | Date: | Tue, 28 May 2002 17:58:27 +0000 |
| Subject: | Re: Funciones COM | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-23172@lists.php.net to get a copy of this message | ||
Hugo
tienes instalado el Outlook (no el Express, el full-Outlook) en tu servidor
de PHP ??
8-)
jaime
----- Original Message -----
From: "Ing. Hugo S. Orta Hernandez" <hoh9ay46@cfe.gob.mx>
To: "Lista PHP" <lista@phpes.com>
Sent: Tuesday, May 28, 2002 11:33 AM
Subject: [PHP-ES] Funciones COM
> 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();
> ?>