Author Topic: Currently in development - push mail for Exchange - July 31 update  (Read 29772 times)

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #30 on: September 15, 2016, 03:16:33 pm »
Hello,
any news about OWA Exchange mail push?
the application is really amazing, but push notifications on my business account exchange server are not working..or better I have to update manually or by setting a refresh rate ( and then not push mode )
Thank you

First, to make sure we are on the same page:
"Microsoft Exchange enables users to access and manage their email online through the Outlook Web Access (OWA) interface." (From MS Support pages).
So, OWA is completely separate from Android apps, Aquamail in particular.
Aquamail is using "EWS" (Exchange Web Services)

Currently, Exchange PUSH is available in Aquamail in the Google-Play "beta".
Alternatively, you can install it using the link in this thread:
http://www.aqua-mail.com/forum/index.php?topic=4976.0
If you install it from this link, you'll be able to update with the new version in Google Play without any problem.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #31 on: September 15, 2016, 10:40:05 pm »
I believe K9 Mail uses OWA as its "transport" (protocol) but other than that... It's also deprecated since 2007 and not supported since 2010.

So yeah, there is nothing wrong with Aqua using EWS as its "transport" for Exchange, works from Exchange 2007SP1 onward.

And yes, a version with push for Exchange is available here:

https://play.google.com/apps/testing/org.kman.AquaMail

Or here on the forum under "Development builds".

( @StR, thank you 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/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #32 on: September 15, 2016, 10:48:01 pm »
I believe K9 Mail uses OWA as its "transport" (protocol) but other than that... It's also deprecated since 2007 and not supported since 2010.
Mea culpa. I didn't know that OWA is also a transport protocol.
Thanks for the correction, - it's always nice to learn.

PS. @Kostya, it's nice to see you back.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #33 on: September 15, 2016, 10:51:26 pm »
Quote
Mea culpa. I didn't know that OWA is also a transport protocol.
Thanks for the correction, - it's always nice to learn.

Not sure if it was ever intended to be, or if K9 essentially does "web scraping" of HTML that's intended to be consumed by web browsers and seen by users -- in any case, it's no longer an option, from what I understand, since Exchange 2010 :)
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/

rossomike1966

  • Newbie
  • *
  • Posts: 8
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #34 on: September 16, 2016, 07:43:57 pm »
Currently, Exchange PUSH is available in Aquamail in the Google-Play "beta".
Alternatively, you can install it using the link in this thread:

If you install it from this link, you'll be able to update with the new version in Google Play without any problem.

Hi,
i tried this version, but if I do not manually update the exchange account emails does not arrive or better...emails arrive after a long time, because in synchronization / "message tracking every" It is set to 15 minutes..
Push email is enabled at my Inbox folder level, and in settings / synchronization / Push message..
 :-[ :-[

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #35 on: September 16, 2016, 08:39:31 pm »
I haven't tried Push for Exchange (so, I haven't used the newest version myself), - but if the configuration interface is similar to that for IMAP Push, there are actually three (3!) places where you need to enable Push:
1. Overall app level settings (3-dot menu from the account view )
2. Account settings (long press on the account in the account view -> options and folders)
3. Inbox (folder properties)
From your description, I suspect (2) might not be enabled.

You haven't mentioned what you phone model and Android version is.
While I don't know all the details of the Exchange Push implementation, but I think it might still be subject to the problem cause by "battery optimization". "Battery optimization" can be happening (a) at the Android level (6.0+) - so called "Doze" mode, (b) specific OEM extension (e.g. Samsung, Huawei, etc...), or (c) a 3rd-party application. In all three cases, you need to add Aquamail to the whitelist to exclude from "being optimized". That optimization simply disables apps from working.
See the FAQ item "Persistent network errors or the app not checking mail, MIUI, Huawei" in the Aquamail FAQ http://www.aqua-mail.com/?page_id=227

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #36 on: September 16, 2016, 09:43:46 pm »
Doze Mode should not be a problem, based on my tests (my Exchange push implementation is able to use GCM).

But yes, push mail needs to be enabled, best to check all three places.

If the account gets checked every 15 minutes, then it's probably not one of those magical MIUI / Huawei / Clean Master issues.
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/

rossomike1966

  • Newbie
  • *
  • Posts: 8
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #37 on: September 17, 2016, 12:41:07 am »
Sorry for delay..
I beg your pardon but we are on the wrong way..
Here i posted my phone ad O.S.
 

the three places where i tap push..(and honestly i do not know where else to plug push... :D)
 

and the last picture is default setting for checking mail (not push!)..i can change in 5 minutes but it's not the same (push)


it may be helpful I tried to download the app from Google Play NINE and it works very well with my Exchange account in push (it's instantaneous mode)
But they do not accept POP3 and IMAP...and I'm owner of 3 IMAP account..so for me Aquamail would be the best

if you want I can be a guinea pig.......but we need to resolve this issue Please.

Thank you

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #38 on: September 17, 2016, 12:43:08 am »
@rossomike1966

Please go into AquaMail settings -> debug -> find and post the value under "Exchange push device ID" (last item).

I'll look it up on my server.

And what is the server, by the way? Office 365? Something else?
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/

rossomike1966

  • Newbie
  • *
  • Posts: 8
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #39 on: September 17, 2016, 12:56:29 am »
@rossomike1966

Please go into AquaMail settings -> debug -> find and post the value under "Exchange push device ID" (last item).

I'll look it up on my server.





and what do you mean when you say "And what is the server, by the way? Office 365? Something else?" My server?
It's a corporate exchange server (the bank where I work has provided me with credentials to access with Android)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #40 on: September 17, 2016, 01:00:20 am »
Thanks.

Checked my server logs -- looks like your bank's Exchange configuration does not allow the particular push technology (so called "push subscriptions") which is used by AquaMail for push mail.

It's a standard Exchange feature since 2007, but I suppose it can be blocked / turned off by your company's "computer people".

If you can let me know the actual server name (in the account's incoming server settings) -- privately by email to kmansoft / gmail -- I'll check one other thing.
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: Currently in development - push mail for Exchange - July 31 update
« Reply #41 on: September 17, 2016, 01:08:35 am »
@rossomike1966

Yep. Your corporate server is supposed to "call" my server and notify it about changes in your Inbox.

It doesn't. It never ever happens.

And so I have to conclude that your bank's "computer people" have blocked the particular Exchange technology which AquaMail uses for push mail.
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/

rossomike1966

  • Newbie
  • *
  • Posts: 8
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #42 on: September 17, 2016, 01:11:14 am »
So... :-[..no solutions?
why my bank server works well with NINE app?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #43 on: September 17, 2016, 01:16:12 am »
There are different ways to implement push mail for Exchange.

Looks like your bank "...blocked the particular Exchange technology which AquaMail uses for push mail"

but did not block the Exchange technology used by Nine.

PS - you're the second user from Italy whose Exchange server is this way. Wonder if there is some book -- "how to set up Exchange in 5 easy steps" -- that's been translated into Italian...
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/

rossomike1966

  • Newbie
  • *
  • Posts: 8
Re: Currently in development - push mail for Exchange - July 31 update
« Reply #44 on: September 17, 2016, 01:23:06 am »
I hope that in the future your app can also use this technology..I'm so sorry to give up aquamail
thank you very much for your cooperation