Unable to create COM objects on Win2k
| From: | Diego Fulgueira Pastor | Date: | Mon, 06 Aug 2001 22:44:29 +0000 |
| Subject: | Unable to create COM objects on Win2k | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61507@lists.php.net to get a copy of this message | ||
Hi! I have the following problem:
I am using IIS 5.0 on Win2k, and I am unable to create COM objects. For
example, the following code will produce the script to halt:
$myObject= new COM("CDONTS.NewMail");
$myObject->to='me@mysite.com';
$myObject->send();
The script stops in the second line, when i try to access the object's
methods and properties. No error message is displayed.
Help, please! I need this funcionality not only to send mails, but for a
bunch of other things.
Any ideas will be greatly appreciated.
Cheers and thanks in advance,
Diego.