Author |
|
marbab Newbie
Joined: 26 April 2010 Location: Pakistan
Online Status: Offline Posts: 14
|
Posted: 24 May 2010 at 8:19am | IP Logged
|
|
|
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 |
|
|
marbab Newbie
Joined: 26 April 2010 Location: Pakistan
Online Status: Offline Posts: 14
|
Posted: 25 May 2010 at 8:23am | IP Logged
|
|
|
any help on this please ?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 May 2010 at 5:16am | IP Logged
|
|
|
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 |
|
|
marbab Newbie
Joined: 26 April 2010 Location: Pakistan
Online Status: Offline Posts: 14
|
Posted: 26 May 2010 at 7:57am | IP Logged
|
|
|
Thank you very much!
The issue is resolved.
|
Back to Top |
|
|