Author Topic: Struggling with Exchange Push mail  (Read 14988 times)

ewill

  • Newbie
  • *
  • Posts: 27
Struggling with Exchange Push mail
« on: December 18, 2016, 09:38:45 pm »
I have been admiring AquaMail from the side - the dealbreaker for me was pushmail from Exchange.  Now that I see it is supported, I purchased the premium.

I am having trouble actually getting pushmail to work.

Here is what I have:
-I have just upgraded to 1.7.1-91
-CM 13 on an LG G4
-General Settings:
--Sync even when "auto Sync" is off
--Scheduled Sync - checked
--Mail check interval -  1 hour (though I would like to extend that to preserve the battery and just rely on the push)
--Push mail enabled
--everything else is at the default setting
-Exchange account options
--Schedudled sync - checked
--Include in sync all - checked

The server is outlook.office365.com.  I know that the push takes a while to sync in - it has been over 12 hours since I enabled auto sync

When I send an email, it is not detected in AuquaMail until I do a sync.  What am I missing?

Thanks for the help

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Struggling with Exchange Push mail
« Reply #1 on: December 18, 2016, 10:16:16 pm »
Please check your settings for 'Push' as follows - to get notifications about' new messages' immediately -:

1 - On app's level
> Menu button > Settings > Mail, receiving:
Push mail: enabled [enabled by default]

2 - On account level
> long press on account name > Options and folders > Account options:
Push mail: enabled [disabled by default]

3 - On folder level
> long press on account name > Options and folders > Folders > press the wheel of the folder where you want to get push notifications (e.g. Inbox):
check 'Use Push mail'

Please have a look into the app's FAQ-page:
http://www.aqua-mail.com/?page_id=227
> Search for "How do I enable Push mail"
« Last Edit: December 18, 2016, 11:15:46 pm by mikeone »

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Struggling with Exchange Push mail
« Reply #2 on: December 18, 2016, 10:23:04 pm »
--Push mail enabled

Just in case, - where have you enabled the Push? There are three places where it has to be enabled (I believe, two are enabled by default): app level, account level, specific folder.
Please read the item "How do I enable Push mail?" in the FAQ:
http://www.aqua-mail.com/?page_id=227

Quote
--Mail check interval -  1 hour (though I would like to extend that to preserve the battery and just rely on the push)
Mail check ("scheduled sync") works as a "backup" for PUSH. I don't know all details about the implementation of Push on EWS, but I know that Push on IMAP can have a time-out (depending on the server) on either 0.5- or 1-hour time scale. So, from everything I've read here on the forum it would be wise to keep sync at least once an hour.
And, AFAIK (although I am not using Exchange), - battery use from a sync is much less then from enabling Push.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Struggling with Exchange Push mail
« Reply #3 on: December 18, 2016, 10:43:08 pm »
Quote
Here is what I have:
-I have just upgraded to 1.7.1-91
-CM 13 on an LG G4
-General Settings:
--Sync even when "auto Sync" is off
--Scheduled Sync - checked
--Mail check interval -  1 hour (though I would like to extend that to preserve the battery and just rely on the push)
--Push mail enabled
--everything else is at the default setting
-Exchange account options
--Schedudled sync - checked
--Include in sync all - checked

Everything looks good except:

1 - account options -> push mail needs to be enabled

2 - if this is an old install of Aqua Mail, from before 1.7, please check the Inbox's "per folder" push setting

My test account is at Office 365 as well, works fine, let's see... Yours is a company / corporate, with a custom domain name?
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/

ewill

  • Newbie
  • *
  • Posts: 27
Re: Struggling with Exchange Push mail
« Reply #4 on: December 18, 2016, 11:23:29 pm »
Thanks for all of the quick assistance.  Before I saw the response, I was getting a bit eager and I happened to see another post where the person deleted and recreated the exchange account.  Since I set up the exchange account before my pro purchase, I had decided to try that.

And - push is now working!

I appreciate all of the help.  I would bet that something in the list would have helped.

 :)

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Struggling with Exchange Push mail
« Reply #5 on: December 18, 2016, 11:53:19 pm »
Glad to hear that push is properly working now.
Thanks for your feedback.

Godwin

  • Newbie
  • *
  • Posts: 2
Re: Struggling with Exchange Push mail
« Reply #6 on: December 23, 2016, 02:41:15 pm »
I'm also struggling with Exchange push mail.

All the options are enabled. However in the Account options/Push Mail it says "Push mail for this account seems to be blocked on the server".

Push works with the Outlook app so it's not a device problem.

Trev

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Struggling with Exchange Push mail
« Reply #7 on: December 23, 2016, 10:49:44 pm »
Re: All the options are enabled. However in the Account options/Push Mail it says "Push mail for this account seems to be blocked on the server".

Yep.

There are different ways to connect to Exchange and different ways to implement push.

Aqua Mail uses 1) EWS to connect and 2) "push subscriptions" for well push mail.

Even though both are official documented Exchange features, some IT departments block EWS completely or push subs specifically.

Your mail server, unfortunately, falls into the second category. This affects about 3-5% of users.

PS - and some IT depts block all mail apps except a certain "white list".
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/

starks

  • Newbie
  • *
  • Posts: 2
Re: Struggling with Exchange Push mail
« Reply #8 on: December 24, 2016, 10:03:40 pm »
Ugh. I hadn't enabled push at the account or folder level. No wonder why AquaMail wasn't behaving any differently from before.

I have a lot of folders. It was pain going through each. Still don't think I'm getting the proper notifications for mail delivery.

Doing all of this wasn't obvious. If it's not going to be default, it should be readily apparent to any user.
« Last Edit: December 25, 2016, 12:15:36 am by starks »

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Struggling with Exchange Push mail
« Reply #9 on: December 25, 2016, 02:36:21 pm »
Usually you don't need "Push" enabled for all FOLDERS, but just for the INBOX (which receives new incoming messages)

starks

  • Newbie
  • *
  • Posts: 2
Re: Struggling with Exchange Push mail
« Reply #10 on: December 26, 2016, 05:26:19 am »
Only 1% of my new mail ends up in Inbox. Each folder is dictated by rules.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Struggling with Exchange Push mail
« Reply #11 on: December 27, 2016, 10:13:18 pm »
Re: Push mail for this account seems to be blocked on the server

If it says that, then it might really mean that.

It's a real legitimate issue, Aqua Mail uses something called "EWS push notifications" and I've seen some servers not do what they're supposed to, presumably due to a security policy.

Feel free to post the "Exchange push device is" from Aqua Mail settings -> Debug (very end, tapping the ID copies to the clipboard) and I will check the logs of our "cloud component".

This ID is a random hash, doesn't disclose anything about your identity, or feel free to email it to support / at / aqua-mail / dot com.

Finally, if you'd purchased the app for this feature specifically and this is a "no go" for you, feel free to email support / at / aqua-mail / dot com and we'll cancel / refund.
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: Struggling with Exchange Push mail
« Reply #12 on: December 28, 2016, 01:06:23 am »
Re: Push mail for this account seems to be blocked on the server

If it says that, then it might really mean that.

It's a real legitimate issue, Aqua Mail uses something called "EWS push notifications" and I've seen some servers not do what they're supposed to, presumably due to a security policy.

Kostya, you seem to be repeating your own answer to the same question. (Look just up this thread)  ;)
You need some rest. Enjoy your upcoming holidays!

PS. You might consider adding that question/answer to the FAQ. It is not just frequently answered, but also frequently asked;D

Taepoong

  • Newbie
  • *
  • Posts: 3
Re: Struggling with Exchange Push mail
« Reply #13 on: December 29, 2016, 01:02:28 pm »
Dear everybody,

May I pickup the topic again?

I installed the most recent release of aqua mail pro, enabled all 3 options for push mail (app, account, folder level). But it is still not working. However, push is working fine using the Android default mail app (which I hate).

Is there still something missing, I have to adjust?

Thank you to everybody.

Taepoong


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Struggling with Exchange Push mail
« Reply #14 on: December 30, 2016, 09:45:39 pm »
I can only repeat my above explanation...

Quote
Re: All the options are enabled. However in the Account options/Push Mail it says "Push mail for this account seems to be blocked on the server".

Yep.

There are different ways to connect to Exchange and different ways to implement push.

Aqua Mail uses 1) EWS to connect and 2) "push subscriptions" for well push mail.

Even though both are official documented Exchange features, some IT departments block EWS completely or push subs specifically.

Your mail server, unfortunately, falls into the second category. This affects about 3-5% of users.

PS - and some IT depts block all mail apps except a certain "white list".
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/