[Q] k9mail push (imap idle) inconsistent - Samsung Epic 4G Touch

I am having some weird issues with k9mail client with push mail not working consistently. Does anyone else have this problem?
Random times during the day, mails do not get pushed to me. I can't really discern a particular pattern of when it works and when it doesn't so I haven't been able to "reproduce" the problem at will. I've also turned on debugging and have been looking at the logs via aLogCat.
For Example
Let's say I start watching the logs at 1:00pm and this was the last time anything was logged by k9mail. Then I get an email to one of my accounts at 1:10pm (I found out via desktop mail client) but this mail does not get pushed to me so I don't get notified and k9mail is still not logging anything so there's no activity by the mail client.
1:25pm comes around, which is over the 24 minute imap idle refresh time configured but I still don't see any mails being pushed to me.
Sometimes the mail finally gets pushed, sometimes it doesn't get pushed for over an hour.
Anyone else have this issue? Any suggestions?
I am currently confined to using k9mail because it allows me to reply to emails received at one account with another account without using gmail's "Send As" feature.
Thanks!

newalker91 said:
At the times you're expecting the mail to push through, is your phone on or idle? Do you notice any discernible difference between the two?
Click to expand...
Click to collapse
Yes, the phone is on but it doesn't seem to matter if it is on (screen on) or idle (screen off).
This would be the sequence of events:
1) The phone is on but screen off (idling)
2) I notice that I received an email through my desktop PC
3) Look at my phone, LED is not blinking so it has not been pushed the email
4) I turn the screen on and unlock it, still is not pushed
5) I opened up the k9mail app, still not pushed
At this point, I can turn the screen back off and eventually I would get notified but when this problem is occurring, it takes too long for the mail to get pushed to me and this problem really defeats the purpose of push mail.
Thanks for the reply!

newalker91 said:
Seems like you're not the only one with this issue. I would completely remove the application, wipe cache on the phone in recovery (power + volume up if not rooted), reinstall and set it back up. If that doesn't fix push, set it to poll every 5 minutes.
Click to expand...
Click to collapse
I've definitely seen reports of this issue. Really not sure if it's the OS, phone, or k9mail.
Here's a k9mail bug that was reported that I added onto with logs:
http://code.google.com/p/k9mail/issues/detail?id=3847
If anyone else is having the same issues, please add a comment so that it get some more attention.

Could this be the same issue described in detail here?
code.google.com/p/k9mail/issues/detail?id=4347

This issue has recently appeared on my phone as well. I had been using K9 for my work email for over a year on my Evo 4G without any problems. About two months ago I picked up a Samsung SG3 (Sprint) and installed K9 on there as well, with no problems whatsoever. All of a sudden around September 5th, I started noticing that I would get my desktop notifications before my phone would receive my emails, which I couldn't recall ever happening in the entire time I had been using K9. I had not make any network changes, system changes, or anything like that. It just stopped working as it normally did one day.
Long story short, I've been having the same issue as you described in the OP. I've tried installing and uninstalling multiple versions of K9 (4.119, 4.200, 4.201, 4.304, 4.306) with the same results.
My work email is hosted by GoDaddy (yes, they are terrible) and as you can expect, I tried getting some support from them and they said that everything was working as it should. I've also tried sending the K9 devs a few emails regarding the issue along with a bunch of catlogs, but not one of them has responded to me. Oh well, it was a great app when it was working.
Oh, and for what it's worth, I had tried setting up 3 different imap email accounts on K9, my work account hosted by GoDaddy, a Gmail account, and a Yahoo account. The Yahoo and Gmail ones pushed emails immediately, whereas the work one would only push at the "refresh idle connection" intervals.

Related

Gmail & ActiveSync Problems

Hello, I have a little question, Do you also have problemes using activesync and gmail ?
for me it work 1 time and then nothing more ...
mrassol said:
Hello, I have a little question, Do you also have problemes using activesync and gmail ?
for me it work 1 time and then nothing more ...
Click to expand...
Click to collapse
Yes I have push gmail by using acrivesync and it worked for me about the last 3 weeks but today it says:
A network or server error is currently preventing your device from synchronizing with your exchange server. If this condition persists, please contact your system administrator.
Support code: 0x85010005
Last synchronized: Today 06:44am
I have almost the same problem ... before I change my phone, it worked fin on my iphone, and on my diamond for test, but now, nothing since 3 days ...
After a few tests, If I uncheck mail the synchro works fine, it should be a problem on google side ... ****
It was working earlier this morning....phew...I thought it was just me having the issue.
Hopefully Gmail will fix the issue.
I deleted my sync and re-established. no longer getting error.
try it out....see if that works for you.
I did it almost 10 times, got 2 or 3 mails, and then nothing else ...
it is fine now, i was getting no email updates previously, but now works fine
I don't, currently, sync my mail. But I do have other problems syncing with Gmail, for contacts and appointments.
1) It never actually synchronizes the first time I press sync (i have mine set to manual) I have to press it a second time for the data to actually sync.
2) Even if I make NO changes to any contact it always has a list of 20+ contacts it is updating (what is it updating??)
3) I stopped using HTC Favorites tab because all contacts in this list get screwed up everytime I sync with google, mainly loosing their photos and rearrangin how I have names displayed (reverts only these few back to standard last name first)
4) DO NOT, I repeat DO NOT use Tmo My Faves if you plan on using google sync. If you do every time you sync through google Tmo will go through and change your my faves contacts back to how they feel they should be displayed, including getting rid of custom ringtones for that contact and their photo. And you will get a txt message for every change tmo did.
5) Evey couple of weeks it tells me a change on the server requires every contact, and or appointment, to be erased and re-synced! Terrifying the first time it happens, not knowing if you are gonna loose anything.
These are almost too much trouble to keep using google sync... and yet I persist with it, hoping these stupid bugs will be worked out.
I have since dropped my faves, since I have the good customer unlimited plan. And have stopped using the HTC favorites tab. Even so, I still get problems with some of the contacts that used to be favorites.
WIll try again to use push ...
It seems like Google is still working some stuff out. I had the same issue and another as well.
Apparently the HTC favorites thing stores some data in proprietary places in your contacts and so that causes problems.
Also, for me unticking "Tasks" for syncing has solved the problem before.
Gmail Emails are not instant, I switched to Live because of this!

Email Problem, Quits Working Without Warning

Email has always worked perfect up until the last few days. It will randomly stop syncing and I have to power it off and back on for it to fix the problem. Everything looks normal. It will not send or receive though.
Everything else seems to work except the email. It's already caused me quite a few problems with not getting messages in a timely manner.
Any thoughts.
I have experienced the same problem also... i kept wondering for few days why i am not getting any emails and than one day my battery died so when i rebooted i the phone my inbox got tons of emails from few days back... i wish to know the answer too
What email are you trying to sync? Hotmail?
princessakiki said:
What email are you trying to sync? Hotmail?
Click to expand...
Click to collapse
hotmail and yahoo... both got backed up for few days... any ideas?
I'm experiencing the same for Gmail. Anybody know of a fix?
Sent from my SPH-D710 using Tapatalk
I'm having the same, or a similar, issue with Exchange mail. Randomly it won't bother to sync it on push until I open up the mail app. All my Gmail works fine, just this.
I may have found the problem. I took off my live wallpaper yesterday and put a standard one back on and my email hasnt quit working since.
I had the 3D Hyperspace Live Wallpaper, which I really like and hate to lose. I'm still monitoring it but I lost email pretty frequently until I went back to the standard wallpaper so there's a good chance thats the problem.
I'll update with results.
Some more info on my problem and my phone:
I have four yahoo email accounts and one gmail account. My yahoo accounts would stop syncing and nothing you could do would refresh them. Nothing would make them sync other than turning the phone off and back on.
My phone is rooted with sfhubs root which has worked flawlessly so far. Not sure if that has anything to do with it or not.
Well I noticed my Hotmail stopped syncing around the time they made the official Hotmail app. I thought it maybe something on Hotmail side of things not allowing it to work but I guess not. I am not rooted and am all stock but the official Hotmail app works great so I just said forget the other one. Let me know if anyone finds a fix.
Sent from my hand crippling Epic 4g Touch
princessakiki said:
Well I noticed my Hotmail stopped syncing around the time they made the official Hotmail app. I thought it maybe something on Hotmail side of things not allowing it to work but I guess not. I am not rooted and am all stock but the official Hotmail app works great so I just said forget the other one. Let me know if anyone finds a fix.
Sent from my hand crippling Epic 4g Touch
Click to expand...
Click to collapse
My gut feeling is that it stopped syncing because i was " clearing memory" from that inbuilt Samsung task manger... since i stopped using "clear memory" the email seems to sync properly ... maybe i am wrong ... i don't know...
Update:
It's been three days since I took the live wallpaper off. I had no problems for three days...
Until this morning. Email hadnt synced since last night. I had to reboot the phone and the emails came rolling in.
I'm going to put the live wallpaper back on and see how it reacts.

Mail Syncing issue

Posting this in general, as I'm not asking a question. I'm stating my findings. Though, feel free to chime in with your experiences.
I'm quite frustrated with mail on my One X. It drives me so insane, I want to go back to my Gnex or iPhone because mail works flawlessly on those. I have read others claiming they don't have this issue, but that's bull. I have had the AT&T version and now the International version and this problem is very real.
I have two accounts set up as Exchange accounts: One is my work e-mail, the other is Gmail. I also have Gmail set up through the native app.
Mail will work fine for a while, then just stops coming in. Today, it was my work e-mail account. I went into Accounts and Sync and there was a "!" on Calendar. It seems like when it can't sync one component of the account, nothing else comes in. I could be wrong. Most certainly, mail stops coming into the Mail app from time-to-time. It's like it just goes to sleep.
It will then inexplicably start working for a while, then stop again. It drives me batty. The moral of the story is, I can't rely on my phone for e-mail at this point, which is kind of a fundamental function of a smartphone. It's even more frustrating when I see the mail come in on every other device and my One X just doesn't get it. If I open Mail, it comes in and sometimes it will work normally for a while after that, but then it stops again.
Really hoping HTC fixes this soon, because it's a serious issue. The only thing I haven't tried is using a 3rd party client, but I don't want to do that because then the mail conversations won't be threaded in my contact history. And honestly, I shouldn't have to.
Also, disclaimer, I am NOT set to Smart Sync on any of my accounts. They are all push.
I can confirm that I am having the same experience and its really pi##ing me off!
Occasionally I get a message stuck in the Outbox as well and then it just keeps on resending the mail. 27 times once!
It also really sucks the battery when it plays up like this.
Always seems to happen after low or no connectivity.
Sent from my HTC One X using xda premium
It happens to me with WiFi here at home. It's not just Mail but also other apps that need to sync like Weather. It's not because of the apps but because even though it shows my WiFi is connected, it is actually disconnected.
I went to another house with WiFi the other day. Perhaps they have different settings... Either way it never happened there. NEVER. I received e-mails right away on my Mail Exchange... Right away. My Weather never missed the update schedule.
Btw, have you enabled the security thing with Mail For Exchange? Something to do with the server. I have only enabled it yesterday.
Sent from my HTC One X using Tapatalk 2
Is it because of sync setting?
I have 2 work email account, one set as push and another set to auto sync every 4 hours, both works fine no matter i'm on 3G or wifi. Besides, my Gmail using the native gmail app also works fine. The moment i saw a notification on my desktop then immediately the phone will notify me.
This is a very real issue for me, i was just about to make a thread on it myself. I have 2 email accounts, a hotmail and a gmail, neither refuse to sync. I Cant see new or old messages, sent, deleted etc on either account. It did work at one point but then it stopped again for no apparent reason.
100% battery
doesnt work on network or wifi
everything else syncs fine, inc dropbox and weather.
using default mail client.
set to sync when i open app.
Er... Is it because it is set to sync only when you open the app?
Sent from my HTC One X using Tapatalk 2
There is definatly an issue on HTC's side.
My exchange mail isnt working well as well. Set it to push...the first few minutes/hours AFTER I turned off the screen pushing works more or less good.
Test mails arrives a few seconds/sometimes minutes after I sent them to my own mail account...but when the phone is idling for some more hours it wont sync the mails anymore...it starts syncing the mails again when I turn on the screen.
Really annoying imo. On gingerbread push mail was working fine..mails arrived seconds after you sent them to the maila ccount that syncs the mails on the device.
I think the issue is smartsync in the settings.apk.
It tries to handle the data connection of the device to give better battery life..but therefore breaks for example proper mail syncing.
On gingerbread you was able to deactivate that feature, it was called "constant mobile data" or similar..if you unckecked it, your mobile data went to sleep after a while when your turned off the screen....on ICS you cant control it yet...Hope htc will fix it for the next OTA.
ladyhaly said:
Er... Is it because it is set to sync only when you open the app?
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Well if thats the issue then its poorly designed. I'm seriously considering exchanging for the S3.
Regardless of when it is set to sync, it should sync when i want it to. So if i have manual sync, then when i refresh it i should be able to see new email, correct?
j4n87 said:
There is definatly an issue on HTC's side.
My exchange mail isnt working well as well. Set it to push...the first few minutes/hours AFTER I turned off the screen pushing works more or less good.
Test mails arrives a few seconds/sometimes minutes after I sent them to my own mail account...but when the phone is idling for some more hours it wont sync the mails anymore...it starts syncing the mails again when I turn on the screen.
Really annoying imo. On gingerbread push mail was working fine..mails arrived seconds after you sent them to the maila ccount that syncs the mails on the device.
I think the issue is smartsync in the settings.apk.
It tries to handle the data connection of the device to give better battery life..but therefore breaks for example proper mail syncing.
On gingerbread you was able to deactivate that feature, it was called "constant mobile data" or similar..if you unckecked it, your mobile data went to sleep after a while when your turned off the screen....on ICS you cant control it yet...Hope htc will fix it for the next OTA.
Click to expand...
Click to collapse
Yeah, that's what it seemed like to me: That HTC was defaulting to smartsync, even when it was set to Push, because it'll start working fine for a while, then stop again. This is really my only issue with the phone currently and it's also one of the most critical. It needs to be addressed sooner, rather than later.
This has been happening to me too. It is not new though. It happened on my HTC Sensation. E-mail would gets stuck in the outbox and tells me it has failed when in fact it is sending it over and over and people end up with multiple e-mails from me. It is extremely frustrating. I also get the exclamation mark when trying a manual sync. It ONLY happens over WiFi and it is not all the time. It happens on different WiFi connections, not just mine and it can sometimes be fine for days. The annoying thing is, I do not know I am unable to receive e-mail until I try sending one and it fails. As soon as it fails I know the problem is back and I have to switch WiFi off.
Glad I am not the only one with this issue. I may end up trying a third party mail app if it isn't fixed.
Yes, this is very annoying.
Happened to me once too, and I had to remove my account and re-create it.
Fixed it - but that's just really a work around for a problem that shouldn't exist...
drpayout said:
Happened to me once too, and I had to remove my account and re-create it.
Fixed it - but that's just really a work around for a problem that shouldn't exist...
Click to expand...
Click to collapse
This doesn't work for me. I wish it was that easy.

[Q] Weird stock email app behaviour..

All my email is pushed to my G3. I've noticed over the past few days that my iPad and my wife's iPad and her Lumia will always get emails first, followed a few minutes later by my G3. Sometimes the emails just don't arrive on the G3 at all (I've waited 20 minutes!). I have no idea what happens to them but they won't appear on the device unless I start the email app manually.
Today I realised that if the email app is running in the background, i.e. appearing in the task switcher (or whatever it's called) it almost certainly, will not receive email. If I manually shut the app from the switcher, the emails will arrive immediately and continue to arrive as long as the email app is not open in the background!
I've restored the phone to factory settings and it still does it, albeit intermittently. I've called LG support and they don't seem to have a clue and suggest that it's an android problem as opposed to a LG problem. No surprise there!
Can anyone help please?
Hi,
I also have push email configured in my phone, and i haven't noted the behavior you comment.
Do you have any battery saver installed? Or any restriction to the background data?
Regards
Sent from my phone
No battery saver, background data on as normal. Wifi is on also.
Just tried to ping the device and no pings coming back. Looks like the wifi is going to sleep despite it being set to stay awake..
This is really strange!
Can anyone help please? My G3 is the very last device in the house to get email and many times, it's just not getting them at all.
It seems to just go to sleep and not receive pushed email!
Is android just slow at getting email?

Anybody else's push email no longer working after the Pie update?

I use the stock email app and push email is no longer working at all since the Pie update was received as an OTA update and everything worked perfectly fine before.
I've double checked all settings on my exchange (via office365) email account to make sure that they hadn't changed and even deleted the e-mail account and recreated it to no effect.
I had to go out for a little bit this morning and whilst I was out I received 15 emails which all showed on the outlook client on my desktop PC, but not a single one of them had been pushed to my phone as they were received. On opening the stock email app the last synced time at the top was several hours ago and the only way that I could receive the messages was by doing a manual sync.
Has anyone else encountered anything similar since the update or has any idea on how to fix it as I rely on push email when I am out and about
yes. Same here. Updated last night and now it's not getting the push on e-mails from the Samsung Email app. I've rebooted my phone a couple of times. Still a problem.
Working OK with the Microsoft Outlook email app
Same issue here with both stock Samsung email app (Gmail account connected through IMAP) and Gmail app
The BlackBerry Hub app kept working after the Pie update on my S9. Must be specific to the Samsung email app.
Have you tried deleting and re-adding the account. Could be a setting that didn't carry over properly, since I'm sure, the email app itself was also updated.
Sent from my Amazon KFKAWI using XDA Labs
I've finally managed to fix this, I had to delete the profile and clear all data (including anything linked to a system app related to mail and calendar as I sync both) reboot the phone, clear all the data again and then put everything back - it's now been 24 hours and it is still working!
spud_work said:
I've finally managed to fix this, I had to delete the profile and clear all data (including anything linked to a system app related to mail and calendar as I sync both) reboot the phone, clear all the data again and then put everything back - it's now been 24 hours and it is still working!
Click to expand...
Click to collapse
Similar approach seems to have worked for me on some limited testing I have done this evening. Thanks for the suggestion!
ccr32 said:
Similar approach seems to have worked for me on some limited testing I have done this evening. Thanks for the suggestion!
Click to expand...
Click to collapse
Seems that I spoke too soon. Push was working with some limited testing confined from one other email account to the one set up on my phone, but the following day was still experiencing the same lack of sync issues, with a load of mails coming through once I opened up the email app, but not before.
Perhaps was working ok before while the phone was still relatively 'awake', but when left to its own devices starts to sleep the apps. There is no setting I can find in Pie to keep certain apps always awake, so not sure what to do here.
peak hours schedule
My push mail also stopped after the pie update. I found out that setting a peak hours schedule with push made push email work again.
Mhilberd said:
My push mail also stopped after the pie update. I found out that setting a peak hours schedule with push made push email work again.
Click to expand...
Click to collapse
How's it working so far?
So far it has been working stable for two days and nights
Mhilberd said:
So far it has been working stable for two days and nights
Click to expand...
Click to collapse
Does anyone have any other suggestions?
My push email didn't work with gmail with Oreo and still doesn't work with Pie. I have tried switching to the Samsung email client as well. It works properly if the phone has been awake within the last 30 minutes or so but after that it is back to taking 15 minutes or more(sometimes hours) for an email to arrive.
I have tried all of the suggestions in this thread, nothing made any difference.
So frustrating...
Make sure the OS isn't putting the email client to sleep to save battery.
Thank you!
I was getting frustrated and this seems to be working for me. :good:
Mhilberd said:
My push mail also stopped after the pie update. I found out that setting a peak hours schedule with push made push email work again.
Click to expand...
Click to collapse

Categories

Resources