hmailserver_changepass: Failed to create COM object `hCOM.Ba

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Daikoku
Normal user
Normal user
Posts: 65
Joined: 2005-03-13 22:12

hmailserver_changepass: Failed to create COM object `hCOM.Ba

Postby Daikoku » 2005-03-14 16:37

Hi,

I'm getting this error when trying to use the hmailserver_changepass plugin. Compatibility plugin is installed:

Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `hCOM.BaseApp': Invalid syntax ' in C:\Inetpub\wwwroot\Webmail\plugins\hmailserver_changepass\options.php:284 Stack trace: #0 C:\Inetpub\wwwroot\Webmail\plugins\hmailserver_changepass\options.php(284): com->com('hCOM.BaseApp') #1 C:\Inetpub\wwwroot\Webmail\plugins\hmailserver_changepass\options.php(244): hmailserver_changepass_go('xxx') #2 C:\Inetpub\wwwroot\Webmail\plugins\hmailserver_changepass\options.php(91): hmailserver_changepass_check() #3 {main} thrown in C:\Inetpub\wwwroot\Webmail\plugins\hmailserver_changepass\options.php on line 284

Anybody knows what's wrong here?

User avatar
martin
Developer
Developer
Posts: 6774
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Postby martin » 2005-03-14 23:54

Build 90 includes new plugins that works with 4.0. The plugins that came with build 89 used the hMailServer 3.4 typelibrary which isn't included with 4.0.

Daikoku
Normal user
Normal user
Posts: 65
Joined: 2005-03-13 22:12

Postby Daikoku » 2005-03-15 00:53

works now ;)

Keep up the good work!

Edit: Autoresponder works also

zachary.litzinger
New user
New user
Posts: 6
Joined: 2017-06-10 23:40

Re: hmailserver_changepass: Failed to create COM object `hCOM.Ba

Postby zachary.litzinger » 2017-06-29 17:04

I'm also getting this error with the following code:

Code: Select all

function hcom_account_add($user, $domainid, $maxsize, $pass) {

$obBaseApp = new COM("hCOM.BaseApp");
$obBaseApp->Connect();
$obDomain = $obBaseApp->Domains->ItemByDBID($domainid);
         
$obAccounts = $obDomain->Accounts();
$obAccount = $obAccounts->Add();
$obAccount->Address = $user . "@" . $obDomain->Name;
$obAccount->Password = $imap_pass;
$obAccount->Active = 1;
           
$obAccount->MaxSize = $maxsize;
$obAccount->Save();
}


What am I doing wrong?

User avatar
mattg
Moderator
Moderator
Posts: 17596
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: hmailserver_changepass: Failed to create COM object `hCOM.Ba

Postby mattg » 2017-06-29 17:48

whoa....

12 year old thread (and still not a record here)
I extremely doubt that you have the SAME issue.
Please start a new thread as per forum rules...

Is this an issue with the PHPWebadmin or are you trying to build and getting errors?
Which version of hMailserver

PLEASE ANSWER IN THE NEW THREAD. DO not add to this thread...
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation


Return to “Development & alpha discussions”



Who is online

Users browsing this forum: No registered users and 2 guests