Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Refresh Inbox on click. Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
harmjer
Newbie
Newbie


Joined: 19 May 2010
Location: Netherlands
Online Status: Offline
Posts: 7
Posted: 21 February 2011 at 12:30pm | IP Logged Quote harmjer

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 View harmjer's Profile Search for other posts by harmjer
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 22 February 2011 at 1:07am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
harmjer
Newbie
Newbie


Joined: 19 May 2010
Location: Netherlands
Online Status: Offline
Posts: 7
Posted: 22 February 2011 at 2:01am | IP Logged Quote harmjer

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 View harmjer's Profile Search for other posts by harmjer
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 22 February 2011 at 2:03am | IP Logged Quote Igor

Are you speaking of current 6.* release? Do you use IMAP or POP3 access?

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


Joined: 19 May 2010
Location: Netherlands
Online Status: Offline
Posts: 7
Posted: 23 February 2011 at 1:32pm | IP Logged Quote harmjer

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 View harmjer's Profile Search for other posts by harmjer
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 23 February 2011 at 1:49pm | IP Logged Quote Igor

I see. But is that IMAP or POP3? And what's the synchronization mode for Inbox?

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


Joined: 19 May 2010
Location: Netherlands
Online Status: Offline
Posts: 7
Posted: 23 February 2011 at 11:31pm | IP Logged Quote harmjer

Sorry Igor.. must be the time difference... :-)
We use POP3..
Back to Top View harmjer's Profile Search for other posts by harmjer
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 24 February 2011 at 1:03am | IP Logged Quote Igor

Quote:
And what's the synchronization mode for Inbox?


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


Joined: 19 May 2010
Location: Netherlands
Online Status: Offline
Posts: 7
Posted: 24 February 2011 at 4:38am | IP Logged Quote harmjer

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 View harmjer's Profile Search for other posts by harmjer
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 24 February 2011 at 5:24am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
harmjer
Newbie
Newbie


Joined: 19 May 2010
Location: Netherlands
Online Status: Offline
Posts: 7
Posted: 24 February 2011 at 12:31pm | IP Logged Quote harmjer

Hi Igor, thanks for your patience...
It's the .NET version: <!--5.0.2-->

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 28 February 2011 at 7:40am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

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