Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic MailSuite

 AfterLogic Forum : AfterLogic MailSuite
Subject Topic: create user under specific domain problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
marbab
Newbie
Newbie


Joined: 26 April 2010
Location: Pakistan
Online Status: Offline
Posts: 14
Posted: 24 May 2010 at 8:19am | IP Logged Quote marbab

Hi,

User Registration problem:

i have successfully setup MailSuite Pro for windows (5
users license).

I have created 1 domain mydomain.com (in webmail)

I have deployed MailSuite and Webmail at
mydomain.com/login

I have successfully created login / register form as
described here

When i create a new user using my new registration form,
new user is created But it is not created under this
(mydomain.com) domain name. Instead it is created under
[Users not in a domain]. How i can fix that ?

new user email is like arbab@mydomain.com

As new user is created, when i try to login using
arbab@mydomain.com it gets me logged in but i see the
following error message in webmail "Wrong email/login
and/or password. Authentication failed."

User login problem:

When i create a new user in admin panel under
mydomain.com and try to login with my custom login form,
everything works fine.

But when i create a new user with custom form and try to
login with my custom login application or even webmail
pro login form, above error occur.

Please help me with that.
I have tried both CreateUserFromAccount and CreateUser.

Thanks.
Back to Top View marbab's Profile Search for other posts by marbab
 
marbab
Newbie
Newbie


Joined: 26 April 2010
Location: Pakistan
Online Status: Offline
Posts: 14
Posted: 25 May 2010 at 8:23am | IP Logged Quote marbab

any help on this please ?
Back to Top View marbab's Profile Search for other posts by marbab
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 26 May 2010 at 5:16am | IP Logged Quote Igor

Quote:
When i create a new user using my new registration form, new user is created But it is not created under this (mydomain.com) domain name. Instead it is created under [Users not in a domain]. How i can fix that ?


There's a property of Account object which is not covered by documentation yet. If you need to add account to particular domain, you need to supply its ID (awm_domains.id_domain) for Account.IDDomain property.

Quote:
As new user is created, when i try to login using arbab@mydomain.com it gets me logged in but i see the following error message in webmail "Wrong email/login and/or password. Authentication failed."


What do you set for MailIncomingProtocol property of Account object? I assume that is probably Pop3 or Imap, while it should be IncomingMailProtocol.WMServer. Otherwise, email account is created in WebMail Pro database only, not on mail server, hence the authentication fails.

Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
marbab
Newbie
Newbie


Joined: 26 April 2010
Location: Pakistan
Online Status: Offline
Posts: 14
Posted: 26 May 2010 at 7:57am | IP Logged Quote marbab

Thank you very much!
The issue is resolved.
Back to Top View marbab's Profile Search for other posts by marbab
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide