AquaMail Forum

English - Android => How do I... => Topic started by: lisadavies13 on April 02, 2016, 05:15:26 pm

Title: imap push not working
Post by: lisadavies13 on April 02, 2016, 05:15:26 pm
hi
have set up push both in mailbox and in settings but not working... help please!
Title: Re: imap push not working
Post by: mikeone on April 02, 2016, 06:27:47 pm
How to enable IMAP Push:

1. at application level (general settings)

Menu -> Settings -> Mail, receiving -> scroll down and enable "IMAP Push"
> screenshot #1

2. at account level (account settings)
When setting up a new account, IMAP Push (if supported by the server) is enabled for the default incoming message folder, but is disabled for the account, giving you more control.
To enable IMAP Push, all you need to do is turn on “IMAP Push” for the account:

Long press an account -> Options and folders -> account options -> enable "IMAP Push"
> screenshot #2

3. at specific folder level
To enable or disable IMAP Push for a specific folder:

Long press an account -> Options and folders -> Folders - > scroll to a particular folder, and tap the settings icon (wheel) to the right of the folder’s name -> enable checkbox "Use IMAP Push"
> screenshot #3

You will find these (and many more) information on the FAQ page:
http://www.aqua-mail.com/?page_id=227
> just search on the page for "IMAP Push"
Title: Re: imap push not working
Post by: Kostya Vasilyev on April 03, 2016, 05:39:31 pm
Assuming no other changes had been made, #2 is the one thing that needs to be changed:

Quote
To enable IMAP Push, all you need to do is turn on “IMAP Push” for the account:

Long press an account -> Options and folders -> account options -> enable "IMAP Push"
> screenshot #2
Title: Re: imap push not working
Post by: claudiotam on May 21, 2016, 08:29:54 pm
I did all the three,  it still does not work. Using gmail email on android.

The 5 minutes periodic check works fine.

Interestingly, I also installed another IMAP client on the phone, and it also does not work.
Title: Re: imap push not working
Post by: Kostya Vasilyev on May 21, 2016, 11:36:58 pm
Re: Interestingly, I also installed another IMAP client on the phone, and it also does not work.

Your phone might be connected to a network which is too happy to close "idle" connections.

IDLE needs an ongoing connection to the server -- and I've seen some mobile providers which abort network connections after they've been idle for just a few seconds.

But if you do send the log, I will look at it.
Title: Re: imap push not working
Post by: claudiotam on May 22, 2016, 06:24:47 pm
Please send a debug logfile to the developer. The link is in my signature below.
Where do I send the logfile? Can I send it to the same email for crash reports kmansoft / at sign / gmail / dot-com ?
Title: Re: imap push not working
Post by: mikeone on May 22, 2016, 06:30:27 pm
Yes, you can send the log file to kmansoft / at sign / gmail / dot com
... as mentioned in the linked page
http://www.aqua-mail.com/?page_id=232

Quote
Creating a log if something doesn’t work right

In the application’s settings, open “Debug” section (at the bottom) and enable “Debug logging” there. Set “Log output location” to “File (log-AquaMail.txt)”. You will need to enable “Log raw data (include raw session data)” most of the time, if the issue is related to specific message(s) or account(s).

Once logging is enabled, please repeat whatever was causing the issue.

After having done this, please send the log file to kmansoft / at sign / gmail / dot com (and disable logging afterwards). The log file is called log-AquaMail.txt and is stored at the root of your device’s memory card or large built-in storage.

Attaching logs is easy: there is a menu item for this in the compose window (last one, “Diag: attach logs”), available while logging is still enabled.

The log does not contain your email account passwords.
😎
Title: Re: imap push not working
Post by: claudiotam on May 22, 2016, 08:19:22 pm
I found a fourth option called "send notification" which was in "off" state. Global config.
I turned it on, now it appears to work fine. Probably I turned it off accidentally.
[Edit]
Sometimes it works, sometimes it doesn't. It works if the email arrives 0-10 minutes after I close the app. After some minutes closed (in background state), the app no longer receives push notifications.
Phone huawei honor 6 plus, just restarted to factory default.
Title: Re: imap push not working
Post by: Kostya Vasilyev on May 23, 2016, 12:47:52 am
There also turned out to be a system "battery optimization" screen --

-- which apparently can keep apps from "doing too much" in the background (the definition of "too much" is of course the device vendor's and is there idea to "make their Android better").
Title: Re: imap push not working
Post by: claudiotam on May 23, 2016, 05:33:02 am
I went around phone settings, phone huawei honor 6 plus, and I found this list.
"settings" -> "power saving" -> "power info" -> "power intensive apps" -> "keep running after screen off".
It's a list of all apps, and for each app I can choose to turn "on" or "off". Some apps are already "on" (messenger, whatsapp, ...), others (almost all) are "off". AquaMail was in "off" state. I turned it "on".
(http://s33.postimg.org/61n5gpkjv/Screenshot_2016_05_22_16_15_54.jpg) (http://postimg.org/image/61n5gpkjv/)
Now it seems working.
Title: Re: imap push not working
Post by: Kostya Vasilyev on May 23, 2016, 10:14:57 pm
Quote
Some apps are already "on" (messenger, whatsapp, ...), others (almost all) are "off". AquaMail was in "off" state.

Ah, so they have a predefined whitelist which includes Facebook and Whatsapp, but not AquaMail, why oh why??? :)
Title: Re: imap push not working
Post by: nica on May 23, 2016, 10:52:03 pm
You didn't pay enough for this privilege? :)
Title: Re: imap push not working
Post by: StR on May 23, 2016, 11:10:04 pm
Ah, so they have a predefined whitelist which includes Facebook and Whatsapp, but not AquaMail, why oh why??? :)

Because there is no VC backing Aquamail?  ;)
Title: Re: imap push not working
Post by: Holger1308 on August 17, 2016, 04:34:11 pm
Hello, I have a MI-Device (Xiaomi MI MAX mit MIUI 8). Aquamail do`snt bring Push-Messages and imap has no fuction. Any idea?? Sync is activated, Messages allowed, Backgroundactivity is enabled for aquamail pro. I have an GMX.DE - Acount.  :-[
Title: Re: imap push not working
Post by: StR on August 18, 2016, 04:58:41 am
Have you disabled battery saving In MUI own battery optimization?  That is known to block PUSH.
Title: Re: imap push not working
Post by: Kostya Vasilyev on August 24, 2016, 12:10:28 am
Re: Push-Messages and imap has no fuction

Did you enable it at the account level in AquaMail? This is OFF by default.

To do this please:

- Long press the account -> options and folders -> account options

- Enable IMAP push here

The same named item in *app* settings is ON by default, but you need to enable this *account* level setting too.
Title: Re: imap push not working
Post by: istaylor on November 30, 2016, 11:58:34 pm
***UPDATE... I just found this other thread that answers  question, so I'll try what it suggests...
http://www.aqua-mail.com/forum/index.php?topic=4661.msg26575#msg26575

I'm having the same problem. I'm a new Aquamail user and I'm on a Google Pixel phone.  I have gone thru FAQ and then this forum. Looks like I'm missing an option.  When I go to Account Options, IMAP push isn't in the list.  See attachment. The other settings are correct.

One additional thing is in the App settings, I have Scheduled Sync unchecked since that sets an interval for checking, but I want immediate receive. Receiving does work on a schedule when I check that. But I don't receive anything otherwise.  I am only using Aquamail for my work email, so don't need the interval checks.
Title: Re: imap push not working
Post by: StR on December 01, 2016, 06:01:13 am
What type of account/connection are you using? Is it actually IMAP, POP or EWS?
POP does not have PUSH, and the menu wouldn't show it.
What is the version of your Aquamail? If it is from Google Play (and not one of the -dev), - then EWS doesn't have PUSH either.

If you account is not set up as an IMAP account, but your e-mail service provider supports IMAP, you may want to set the same account as IMAP (choose "Internet Account", then choose IMAP). You may need to set it up manually.
Then you'll have the option for PUSH.

Even when you have PUSH, you still want to have "scheduled sync" enabled and set, say to 15 or 30 minutes frequency. That will prevent any type of problems of loosing PUSH connection due to network or server idiosyncrasies.