Bug #14211: Method invocation of COM objects
| From: | tushev at adviser dot ru | Date: | Sat, 24 Nov 2001 16:52:50 +0000 |
| Subject: | Bug #14211: Method invocation of COM objects | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71536@lists.php.net to get a copy of this message | ||
From: tushev@adviser.ru
Operating system: Windows NT 4.0
PHP version: 4.0.6
PHP Bug Type: COM related
Bug description: Method invocation of COM objects
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 bug report at: http://bugs.php.net/?id=14211&edit=1