Author |
|
edouble Newbie
Joined: 22 October 2008 Location: United States
Online Status: Offline Posts: 14
|
Posted: 24 October 2008 at 7:49am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 24 October 2008 at 12:02pm | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 27 October 2008 at 3:16am | IP Logged
|
|
|
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 |
|
|
edouble Newbie
Joined: 22 October 2008 Location: United States
Online Status: Offline Posts: 14
|
Posted: 27 October 2008 at 10:39am | IP Logged
|
|
|
Perfect, thanks !
|
Back to Top |
|
|
edouble Newbie
Joined: 22 October 2008 Location: United States
Online Status: Offline Posts: 14
|
Posted: 27 October 2008 at 11:25am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 28 October 2008 at 1:05am | IP Logged
|
|
|
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 |
|
|
edouble Newbie
Joined: 22 October 2008 Location: United States
Online Status: Offline Posts: 14
|
Posted: 28 October 2008 at 5:28am | IP Logged
|
|
|
Okay, that makes sense then. We will do the rebuild this afternoon.
Thanks again,
e.
|
Back to Top |
|
|