Author |
|
mdwait Newbie
Joined: 09 January 2010 Location: United States
Online Status: Offline Posts: 8
|
Posted: 09 January 2010 at 10:07am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 10 January 2010 at 5:48am | IP Logged
|
|
|
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 |
|
|
mdwait Newbie
Joined: 09 January 2010 Location: United States
Online Status: Offline Posts: 8
|
Posted: 10 January 2010 at 12:07pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 11 January 2010 at 1:20am | IP Logged
|
|
|
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 |
|
|
mdwait Newbie
Joined: 09 January 2010 Location: United States
Online Status: Offline Posts: 8
|
Posted: 11 January 2010 at 3:13am | IP Logged
|
|
|
awesome - thanks!
|
Back to Top |
|
|