php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14211 Method invocation of COM objects
Submitted: 2001-11-24 11:52 UTC Modified: 2001-12-06 11:49 UTC
From: tushev at adviser dot ru Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.6 OS: Windows NT 4.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tushev at adviser dot ru
New email:
PHP Version: OS:

 

 [2001-11-24 11:52 UTC] tushev at adviser dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-25 12:49 UTC] phanto@php.net
there is no obvious bug in your script. is this com-server available somewhere ? what do i have to install to get it.

harald
 [2001-12-06 11:49 UTC] phanto@php.net
got no feedback. alan directed me to a msdn site mentioning a bug in the CDONTS thingie and i think it is related to it. will investigate this. closing for now (not an obvious php bug)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC