Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Default User Details template? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
edouble
Newbie
Newbie
Avatar

Joined: 22 October 2008
Location: United States
Online Status: Offline
Posts: 14
Posted: 24 October 2008 at 7:49am | IP Logged Quote edouble

Is there some way to set or change the default settings for the User Management/User Details page (e.g. to uncheck 'Use SMTP authentication' & uncheck 'Delete message from database if it no longer exists on mail server', etc...) ? TIA ...
Back to Top View edouble's Profile Search for other posts by edouble
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 24 October 2008 at 12:02pm | IP Logged Quote Andrew

Quote:
uncheck 'Use SMTP authentication'"


Try unchecking "Requires SMTP authentication" in WebMail Admin Console / WebMail Settings.

Quote:
uncheck 'Delete message from database if it no longer exists on mail server'


This requires modifying WebMail Pro source code. We'll be back to you regarding this on Monday.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 27 October 2008 at 3:16am | IP Logged Quote Andrew

Quote:
uncheck 'Delete message from database if it no longer exists on mail server'


File App_Code/Folder.cs, line 44:
Code:
public const FolderSyncType DefaultInboxSyncType = FolderSyncType.AllEntireMessages;

replace with:
Code:
public const FolderSyncType DefaultInboxSyncType = FolderSyncType.NewEntireMessages;


Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
edouble
Newbie
Newbie
Avatar

Joined: 22 October 2008
Location: United States
Online Status: Offline
Posts: 14
Posted: 27 October 2008 at 10:39am | IP Logged Quote edouble

Perfect, thanks !
Back to Top View edouble's Profile Search for other posts by edouble
 
edouble
Newbie
Newbie
Avatar

Joined: 22 October 2008
Location: United States
Online Status: Offline
Posts: 14
Posted: 27 October 2008 at 11:25am | IP Logged Quote edouble

For some reason, changing that code did not affect the default settings for our new users. Is that the code change specifically for the 'Delete message from database if it no longer existson email server' setting (ie by changing that code the new users will have that setting unchecked instead of checked) ?
Back to Top View edouble's Profile Search for other posts by edouble
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 28 October 2008 at 1:05am | IP Logged Quote Andrew

In case of POP3 account, FolderSyncType.AllEntireMessages sets 'Delete message from database if it no longer exists on mail server' to on for new accounts while FolderSyncType.NewEntireMessages to off.

If it doesn't work for you, this means the code in App_Code was not rebuilt automatically after the change. Although IIS should rebuild it automatically, sometimes it doesn't do that for some reason.

So, you should rebuild the project explicitly. You can use MS VS 2005 SP1 or above or MSBuild.exe shipped with .NET Framework.

To rebuild the project via MSBuild.exe, run the following in command line:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.41115\MSBuild.exe PATH_TO_YOUR_WEBMAIL_INSTALLATION\WebMailPro.csproj /p:Configuration=Release

If you have another version of .NET Framework installed, replace v2.0.41115 with the appropriate version.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
edouble
Newbie
Newbie
Avatar

Joined: 22 October 2008
Location: United States
Online Status: Offline
Posts: 14
Posted: 28 October 2008 at 5:28am | IP Logged Quote edouble

Okay, that makes sense then. We will do the rebuild this afternoon.

Thanks again,

e.
Back to Top View edouble's Profile Search for other posts by edouble
 

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