|  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
 [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    = "";
$objMail->To      = "";
$objMail->Subject = "Mail throughout COM";
$objMail->Body    = "Body of the message";

The string "$objMail->Send();" prints next text: 
Invoke() failed: Exception occurred

But identical script writen on ASP works fine on the same server.


Add a Patch

Pull Requests

Add a Pull Request


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

 [2001-12-06 11:49 UTC]
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-2022 The PHP Group
All rights reserved.
Last updated: Mon May 16 16:05:46 2022 UTC