Re: Unable to create COM objects on Win2k
| From: | Mikael hultgren | Date: | Tue, 07 Aug 2001 13:04:22 +0000 |
| Subject: | Re: Unable to create COM objects on Win2k | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61607@lists.php.net to get a copy of this message | ||
On Mon, 6 Aug 2001 17:44:29 -0500
"Diego Fulgueira Pastor" <dful@metahogar.com> wrote:
> 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();
Im no expert here, but shouldnt the second line be
$myObject->to('me@mysite.com');
Or am i missing something here
micke <mikael@uds.se>
--
"Love is a snowmobile racing across the tundra. Suddenly it flips
over, pinning you underneath. At night, the ice weasels come."
-- Matt Groening