Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Failed to log into the account Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rudolf.riegler
Newbie
Newbie


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 13 December 2012 at 1:30pm | IP Logged Quote rudolf.riegler

Hello,

I have integrated the webmail into my webapplication like it is described here (Integration object).
Everythink works well on a local (test)server. But deploying the webmail-application at the (public) server, the following error-message occurs:

"Error: failed to log into the account. Reason: Imap component not licensed. LicenseKey is invalid. See documentation on LicenseKey property of the component for more information."

What is Imap and LicenseKey? Does anybody have an advice for me.

Regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 December 2012 at 2:42am | IP Logged Quote Igor

Make sure your integration code (i.e. the code where integration method is used) is located within WebMail directory, otherwise licensing error will be thrown.

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


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 14 December 2012 at 6:29am | IP Logged Quote rudolf.riegler

Hy Igor,

both the "test-iframe.aspx"-site (i.e. my integration code) and the site where I call the iframe ("myWebmail.aspx") are one directory above the Webmail-directory as it is described here. At the local (test) server this works without any troubles.

Are there any other possibilities to get this error???

best regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 December 2012 at 1:44pm | IP Logged Quote Igor

Let me clarify what's going on there. WebMail Lite, as well as WebMail Pro ASP.NET, is powered by commercial product called MailBee.NET Objects which is used for email-related operations: sending, receiving, parsing messages etc. In terms of WebMail Lite, these components are available free of charge. However, we had to ensure that they're not used outside of WebMail Lite. Thus, to make things work and to avoid licensing errors, you need to place the integration code inside WebMail directory.

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


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 15 December 2012 at 12:50am | IP Logged Quote rudolf.riegler

Hi Igor,

what is the "integration code" for you exactly? The "integr.aspx" and "integration.cs" files which are provided by Afterlogic??? These files are by default in the following directory:

\\myserver\webmail\Integration\

Or do you mean the file where e.g. the "UserLoginByEmail"-method is called??? The actual webapplication is, as described in the installation guide of Afterlogic, one level above the webmail-directory, i.e.

webapplication fiels are stored at: \\myserver\
webmail files by Afterlogic are stored at: \\myserver\webmail\

As I mentioned before, my testapplication works wonderfull! Both the testapplication and the public appplication have exactly the same directory structure, so I do not understand this error!

Are there any other possibilities to fix this error???

Best regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 December 2012 at 11:58pm | IP Logged Quote Igor

Code:
Or do you mean the file where e.g. the "UserLoginByEmail"-method is called???


Yes, that's the one I'm speaking of.

Code:
one level above the webmail-directory,


- which is exactly why this isn't working. webmail directory should be one level above the application which uses the integration.

Code:
Are there any other possibilities to fix this error???


Sure, you can use WebMail Pro, it doesn't have that limitation.

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


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 17 December 2012 at 1:30am | IP Logged Quote rudolf.riegler

Hy Igor,

first, thanks for your reply!

Just to clarify to fix my problem...my directory structure has to look like this:

webapplication fiels are stored at: \\myserver\webmail\myWebApp\
webmail files by Afterlogic are stored at: \\myserver\webmail\
or everything is in the same directory?

However, please tell me, why does my currently used directory structure work at the local test server. How distinguishs the Lite-Version between local and public server???

Best regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 December 2012 at 1:58am | IP Logged Quote Igor

This behavior is controlled by web.config file, which overrides machine.config file settings. So if you observe different behavior on different system, it's something related to either of those two files.

It shouldn't matter if the integration code is placed directly to webmail directory or one of its subdirectories, should work fine in both cases.

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

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