Bug #14211 Updated: Method invocation of COM objects
| From: | phanto@php.net | Date: | Sun, 25 Nov 2001 17:49:25 +0000 |
| Subject: | Bug #14211 Updated: Method invocation of COM objects | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71601@lists.php.net to get a copy of this message | ||
ID: 14211
Updated by: phanto
Reported By: tushev@adviser.ru
Status: Open
Bug Type: COM related
Operating System: Windows NT 4.0
PHP Version: 4.0.6
New Comment:
there is no obvious bug in your script. is this com-server available somewhere ? what do i have to
install to get it.
harald
Previous Comments:
------------------------------------------------------------------------
[2001-11-24 11:52:50] tushev@adviser.ru
It is impossible to involve a method of COM object in the next script:
$objMail = new COM("CDONTS.NewMail");
$objMail->From = "tushev@adviser.ru";
$objMail->To = "tushev@adviser.ru";
$objMail->Subject = "Mail throughout COM";
$objMail->Body = "Body of the message";
$objMail->Send();
The string "$objMail->Send();" prints next text:
Invoke() failed: Exception occurred
But identical script writen on ASP works fine on the same server.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14211&edit=1