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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 12:01:27 2024 UTC