Author Topic: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail  (Read 27270 times)

agpol07

  • Newbie
  • *
  • Posts: 14
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #15 on: August 12, 2016, 02:01:13 am »
It's OK now.. Thanks dev

stevealb

  • Full Member
  • ***
  • Posts: 144
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #16 on: August 12, 2016, 02:06:03 am »
Notifications now work.  Thanks

There's still about a 2 second delay in displaying the message list when opening AM. The screen is blank for the 2 seconds until the messages are displayed. I compacted the database after installing the update, but it made no difference. This is a new behavior with this Push update. 

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #17 on: August 12, 2016, 02:18:03 am »
@stevealb

What is the size of Messages.sqldb in Menu -> About?

What's the phone make / model / Android version?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

stevealb

  • Full Member
  • ***
  • Posts: 144
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #18 on: August 12, 2016, 02:45:19 am »
@stevealb

What is the size of Messages.sqldb in Menu -> About?

What's the phone make / model / Android version?

Messages.sqldb=368MB+512K

Phone: Samsung S7 Edge running Android 6.01



dcortez

  • Newbie
  • *
  • Posts: 15
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #19 on: August 12, 2016, 08:34:54 pm »
@dcortez - got it, thanks.
hi, i responded to your email and made the suggested settings changes. At this point, however, push still not working. Email only received during defined 15 minute interval.  Will email log later. Thanks.

Roxmor

  • Newbie
  • *
  • Posts: 14
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #20 on: August 12, 2016, 10:36:06 pm »
Does this sync contacts?

I cant get anything to show up in my inbox....just see the Load 90 more days message

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #21 on: August 12, 2016, 11:46:53 pm »
Re: Messages.sqldb=368MB+512K

This is insanely large.

The difference with this version is that, when you use "sync N days" (as opposed to "N messages") which Exchange push requires --

-- the "messages to cache" is how many messages to cache *in addition to* those "N days", since, unlike with "sync N messages", there is no way to know how many messages those "N days" have.

In other words, please review the account level "messages to cache" and make it let's say 100 -- the app will not remove the "N days" which is the "sync" setting.

It also may be that the default "14 days" might, for you, be *a lot* of messages. If so, you may want to change to "last 10 days" or "7 days".

And then, after making those two changes, you will want to "compact the database" again. The database's size should reduce and things should be faster again.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #22 on: August 12, 2016, 11:48:30 pm »
Re: Does this sync contacts?

Not with system Contacts yet, sorry.

Re: I cant get anything to show up in my inbox....just see the Load 90 more days message

And there are messages dated from last 90 days or less?

Could you please capture this in the app's debug log, please see a link in my signature below.

After enabling logging, you will want to star / unstar a recent message in web mail, or to send yourself a test message -- some sort of change on the server -- and then refresh in the app to capture the app's communication with the mail server.

Then send me the log please.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

stevealb

  • Full Member
  • ***
  • Posts: 144
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #23 on: August 13, 2016, 12:03:07 am »
Re: Messages.sqldb=368MB+512K

This is insanely large.

The difference with this version is that, when you use "sync N days" (as opposed to "N messages") which Exchange push requires --

-- the "messages to cache" is how many messages to cache *in addition to* those "N days", since, unlike with "sync N messages", there is no way to know how many messages those "N days" have.

In other words, please review the account level "messages to cache" and make it let's say 100 -- the app will not remove the "N days" which is the "sync" setting.

It also may be that the default "14 days" might, for you, be *a lot* of messages. If so, you may want to change to "last 10 days" or "7 days".

And then, after making those two changes, you will want to "compact the database" again. The database's size should reduce and things should be faster again.

I'll try those steps,  but I do get about 100 emails per day and may keep some unread for weeks to keep on my radar. If I then  read it on my desktop, but AM is only set to sync the last 14 days, but the email is 6 weeks old, will it mark it as "read"  on AM?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #24 on: August 13, 2016, 12:38:07 am »
100 messages per day * 14 days -- a lot of messages.

Exchange has two-way read / unread sync, and AquaMail has always done / used this, just like it always did for IMAP.

The only way to mark read / unread in the app completely separately from the mail server is to use POP3, which does not have read / unread sync.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

stevealb

  • Full Member
  • ***
  • Posts: 144
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #25 on: August 13, 2016, 01:00:11 am »
I want AM and the desktop to be in sync. Maybe I don't understand. AM is set to sync the last 14 days. If I have an email that's 21 days old and "unread", and then today I read that email on my Desktop. Will that email in AM sync and get marked as "read" to match the desktop? That's what I want to happen.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #26 on: August 13, 2016, 01:03:45 am »
Re: Will that email in AM sync and get marked as "read" to match the desktop?

It won't be visible in the app unless you "scroll down to see more messages" -- since 21 days is beyond your 14 days setting.

But the unread count will adjust to reflect this change.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #27 on: August 13, 2016, 12:34:24 pm »
Re: Messages.sqldb=368MB+512K

This is insanely large.

The difference with this version is that, when you use "sync N days" (as opposed to "N messages") which Exchange push requires --

-- the "messages to cache" is how many messages to cache *in addition to* those "N days", since, unlike with "sync N messages", there is no way to know how many messages those "N days" have.

In other words, please review the account level "messages to cache" and make it let's say 100 -- the app will not remove the "N days" which is the "sync" setting.
...
Kostya,
Thanks for your detailed explanation.

Could it make sense -  in this context -, to add the options 'messages to sync' / 'messages to cache' to the accounts "Special settings": > section 'Mail, receiving'

This would allow to define different settings for exchange, imap, pop3.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #28 on: August 13, 2016, 11:10:36 pm »
Per-account "messages to sync" / "messages to cache" have been available forever -- historically, however, under "options and folders" -> account options.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« Reply #29 on: August 14, 2016, 10:06:37 am »
Per-account "messages to sync" / "messages to cache" have been available forever -- historically, however, under "options and folders" -> account options.
Kostya,

Thanks for your feedback. I just looked at the wrong place in the account settings.

Therefore it might be more consistent to bunch together the (account specific) "Mail, receiving" settings under the "per account" section "Special settings" > "Mail, receiving"
or
to move the (account specific) "Special settings" > 'Mail check interval' and 'Custom check interval' to the section "Options and folders" > "Account options"
« Last Edit: August 14, 2016, 10:11:05 am by mikeone »