Author |
|
harmjer Newbie
Joined: 19 May 2010 Location: Netherlands
Online Status: Offline Posts: 7
|
Posted: 21 February 2011 at 12:30pm | IP Logged
|
|
|
A few of our users wish to manage mail to a single email address. So both users login to the same mailbox using their own machines. When one of them receives, deletes or create email messages their respective views of the folder contents gets out of sync.
Which code should I change to get the Inbox (for example) to refresh each time is is clicked?
Grtx,
Jeroen Harmsen.
Ecare Services b.v.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 February 2011 at 1:07am | IP Logged
|
|
|
Refreshing is actually performed on Check Mail call, be it click or automated mailcheck at
given intervals. So looks like you'll need to force the mail check to achieve what you need.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
harmjer Newbie
Joined: 19 May 2010 Location: Netherlands
Online Status: Offline Posts: 7
|
Posted: 22 February 2011 at 2:01am | IP Logged
|
|
|
Well.. not exactly Igor. When user A and B watch the same Inbox and user A deletes a message. User B can click on Check Mail, but will not see the message removed.
When watching HTTP traffix generated by the Webmail client, no request is beeing made tot the server when clicking the Inbox.
Grtx,
Jeroen Harmsen
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 February 2011 at 2:03am | IP Logged
|
|
|
Are you speaking of current 6.* release? Do you use IMAP or POP3 access?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
harmjer Newbie
Joined: 19 May 2010 Location: Netherlands
Online Status: Offline Posts: 7
|
Posted: 23 February 2011 at 1:32pm | IP Logged
|
|
|
It's version 5. In addition, we've tested version 6 and are going to skip that version because it will simply not meet our needs.
Grtx,
Jeroen Harmsen
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 February 2011 at 1:49pm | IP Logged
|
|
|
I see. But is that IMAP or POP3? And what's the synchronization mode for Inbox?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
harmjer Newbie
Joined: 19 May 2010 Location: Netherlands
Online Status: Offline Posts: 7
|
Posted: 23 February 2011 at 11:31pm | IP Logged
|
|
|
Sorry Igor.. must be the time difference... :-)
We use POP3..
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 February 2011 at 1:03am | IP Logged
|
|
|
Quote:
And what's the synchronization mode for Inbox? |
|
|
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
harmjer Newbie
Joined: 19 May 2010 Location: Netherlands
Online Status: Offline Posts: 7
|
Posted: 24 February 2011 at 4:38am | IP Logged
|
|
|
Damn Igor.. I'm realy sorry...
Anyhow:
"Type of Inbox Synchronization: Entire Messages"
And:
"Get/Synchronize Mails at login ", "Leave messages on server" is checked.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 February 2011 at 5:24am | IP Logged
|
|
|
Got it. Last questions for now: is that PHP or .NET, and what's the exact
version number?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
harmjer Newbie
Joined: 19 May 2010 Location: Netherlands
Online Status: Offline Posts: 7
|
Posted: 24 February 2011 at 12:31pm | IP Logged
|
|
|
Hi Igor, thanks for your patience...
It's the .NET version: <!--5.0.2-->
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 February 2011 at 7:40am | IP Logged
|
|
|
Have discussed this with the developers. The problem about Inbox here is that when the 2nd user hits Check Mail,
client believes there are no new messages and doesn't fetch anything. The workaround here is to pull list of
messages no matter if there are new messages or no. To implement that, modify mail/mail-handlers.js file
(~line 350) and enter new code for SetUpdatedFolders function:
Code:
function SetUpdatedFolders(foldersArray, showInfo)
{
WebMail.FoldersToUpdate = [{id: -1, fullName: ''}];
} |
|
|
Certainly, you'll need to clear browser cache to apply changes.
Hope this helps! Please note that this is supposed to work for Inbox only.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|