Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Integration / API Calls Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mdwait
Newbie
Newbie


Joined: 09 January 2010
Location: United States
Online Status: Offline
Posts: 8
Posted: 09 January 2010 at 10:07am | IP Logged Quote mdwait

We are writing APIs/ using documentation from online help....

Couple of questions:
The id_msg value.. seems to be random? Does it matter what we put in there as long as it is long numeric, and NOT duplicated?

Other question... password encryption.
Can add passwords.. but how do I unencrypt to use?

We had a question about where the messages's (outgoing in this case) - attachments are stored.

Thanks
Back to Top View mdwait's Profile Search for other posts by mdwait
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 10 January 2010 at 5:48am | IP Logged Quote Igor

Is that about .NET or PHP version of the product?

Quote:
We had a question about where the messages's (outgoing in this case) - attachments are stored.


I think I've replied to that one here.

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


Joined: 09 January 2010
Location: United States
Online Status: Offline
Posts: 8
Posted: 10 January 2010 at 12:07pm | IP Logged Quote mdwait

We are writing to .net
How do the folders relate to the users?
I see the domain names used, but
WEBMAIL\App_Data\Mail\m\adnv@domain.com

How does the database know that 'm' directory is tied to a user.

Also - just keen to know - if the actual 'data' files can be moved away from the webmail site.. and held somewhere else
Back to Top View mdwait's Profile Search for other posts by mdwait
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 11 January 2010 at 1:20am | IP Logged Quote Igor

Quote:
The id_msg value.. seems to be random? Does it matter what we put in there as long as it is long numeric, and NOT duplicated?


It's an ordinal number of a message, and it should be unique within one user account referenced with id_acct.

Quote:
Can add passwords.. but how do I unencrypt to use?


Check EncodePassword and DecodePassword functions in App_Code\Utils.cs file in this regard.

Quote:
WEBMAIL\App_Data\Mail\m\adnv@domain.com

How does the database know that 'm' directory is tied to a user.


In your example, that would rather be Mail\a\adnv@domain.com as "a" stands for the first character of username.

Quote:
Also - just keen to know - if the actual 'data' files can be moved away from the webmail site.. and held somewhere else


Of course, you can move the data folder from App_Data to any other directory of your choice, just make sure it is properly referenced in web.config file:
Code:
<add key="dataFolderPath" value="..." />


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


Joined: 09 January 2010
Location: United States
Online Status: Offline
Posts: 8
Posted: 11 January 2010 at 3:13am | IP Logged Quote mdwait

awesome - thanks!
Back to Top View mdwait's Profile Search for other posts by mdwait
 

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