[Q] Email client deadlock - Sony Tablet S

Hi
I've configured my IMAP email account in the stock Tablet S (official ICS) Email client with the default refresh rate of 15 minutes. Works fine initially but then, after some hours, it enters some kind of "refresh loop" where the email app's refresh icon spins every second and it presumably keeps hammering my IMAP server (as the WiFi activity indicators are constantly "lit"). Battery stats for the email app begin to skyrocket from this point on. Only workaround (not satisfactory, needless to say) I found so far is to kill the e-mail app's process. Then it works correctly for some time before it is stuck again. I have no reason to suspect there's anything wrong with the IMAP server I use. I've tried resetting the e-mail app's settings and configuring my account from scratch to no avail. Anyone else experience this?
Regards
Zbig

Related

ActiveSync/Exchange Sending multiple copies of email

Hi,
After an upgrade (No2Chem 3.49 Radio 3.42.40) everything works really great!!! Except, I am having an issue with ActiveSync.
Intermittently, (sometimes every 3 seconds, sometimes every 10 minutes), a blank window covers the whole screen with a title of "ActiveSync" and an "ok" in the upper right corner. If I click ok, the ActiveSync main window appears. I believe everytime this happens, it is resending all of the email in my outbox and the message never gets removed from the outbox even though it is delivered to the recipient.
ActiveSync works fine with PC via USB and for all features besides the email. Also, SMS and Gmail correctly clear the inbox and send only the single email (this is what makes me think it is the ActiveSync).
TIA,
Brian.
I have seen that with the MR1 ROM while ActiveSync is doing its first sync with a large mailbox. (I've got a couple thousand messages from the past month that sync via Exchange.)
I've noticed intermittantly unreliable behavior of the Exchange mail client while it's still cranking away at the initial sync (failing to set message read flags server-side, to be specific).
Regardless, though, things worked fine for me after ActiveSync finished the big initial sync run.
Thanks Skywing,
That doesn't appear to be the case. I only have ~20 emails trying to sync. I did try re-flashing as well as reinstalling AS to no avail.
FYI to all --
I did just come across this thread on MS Mobile support forums...
https://forums.microsoft.com/window...1&siteid=65&sb=0&d=1&at=7&ft=11&tf=0&pageid=0
It appears that this is an issue with Exchange 2007 and WM6.1. It looks like there is a hotfix that needs to be installed on the server side (which I don't have control over). There is a chance this isn't the issue, but it certainly sounds like all of the same symptoms. Unfortunately, there is no apparent client-side fix.
-Brian.

[Q] Corporate sync connection intermittent

I'm using Corporate Sync for my work email, coming from an Exchange Server (2003 I think). I can set it up, connect and sync fine for 1-5 days, then I get a connection error and the only way to resolve is to remove the account and add it back in.
Things I have tried:
-upper and lower case for domain name (have read some places that think it is case sensitive)
-checking and unchecking the "verify certificates" box
-factory data reset
-clearing the email app data (from Manage Applications) after I remove the account, before I add it back in
I know there are other people at my company that use Android and iOS devices and they do no have this issue, but no one else that has an Atrix.
Any thoughts? I'm rooted and about to jump on a ROM if there is a sliver of chance GB might help out, but I need my email and calendar to be up to date for work (part job requirement, part me being a little OCD).
Thanks.

Exchange bug?

Set up my works Exchange account on the S3 and suspected it was causing high battery drain.
Selected some 'sleep time' from within the application and then also selected Manual Update so I could save battery. It appears manual doesn't change anything though as my mail still comes through unless I deactivated the account completely?
Anyone else have this issue.?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
WhiteHartMart said:
Set up my works Exchange account on the S3 and suspected it was causing high battery drain.
Selected some 'sleep time' from within the application and then also selected Manual Update so I could save battery. It appears manual doesn't change anything though as my mail still comes through unless I deactivated the account completely?
Anyone else have this issue.?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
That wouldn't be a bug in Exchange causing the issue.
It is, most likely, because ActiveSync, which is what Exchange uses to communicate with your phone, is a server-side "push" technology. This means that your phone, most likely, has WiFi and/or your Internet services "always on" to accommodate ActiveSync. ActiveSync doesn't work like Blackberry where the client-side does all of the control/communication (pull technology). It is all done server-side, which means that the phone has to always have an Internet connection, either through WiFi or the phone Internet services, to be ready to accept incoming information from ActiveSync.
Thanks for the reply - so the option to manually retrieve mail is pointless then as it going to get pushed whether I want it or not?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
After posting my response, I decided that it could be a little bit clearer, so here goes.
Blackberry (BES specifically), IMAP, POP3, SMTP, etc, the client side, in this case the phone, is in control of all of the message synchronization. Meaning that every n number of minutes/hours/days it opens up an Internet connection and says, "Do you have anything for me? If so, send it now." That's client-side pull technology.
ActiveSync, on the other hand, the server (in this case the Exchange Client Access Server), sends out the info, via AvtiveSync, every time something new comes in to your Exchange mailbox. This happens "real-time" rather than every n number of minutes. This means that the client side, in this case the phone, must have an "always on" Internet connection, either via WiFi or the phone's Internet service, to accept these "real-time" updates. This is server-side push technology.
Server-side push technology, by its very nature, causes the client-side, in this case the phone, to consume more battery since the WiFi and Internet "radios" must always be on.
I hope that this makes more sense than my last post.
---------- Post added at 11:33 AM ---------- Previous post was at 11:28 AM ----------
WhiteHartMart said:
Thanks for the reply - so the option to manually retrieve mail is pointless then as it going to get pushed whether I want it or not?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
Correct. The server is the controlling "party" in the paired relationship.
WhiteHartMart said:
Set up my works Exchange account on the S3 and suspected it was causing high battery drain.
Selected some 'sleep time' from within the application and then also selected Manual Update so I could save battery. It appears manual doesn't change anything though as my mail still comes through unless I deactivated the account completely?
Anyone else have this issue.?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
I ran the same tests on the S3. I'm syncing 3 exchange accounts.
Email exchange service drains the battery really fast ...
Nearly half of the battery is used (battery stats) for this process only [47%].
My battery cannot last:
- on 3G networks, more than 5 hours.
- on WiFi, it goes up to 8 hours.
I used to sync the same exchange accounts on 2 other Samsung devices: Captivate Glide and Galaxy Note - both running Android 2.3.5/2.3.6
=> no issues with the sync services draining the battery.
IMHO, this is not only linked to the Activesync technology, it is also linked android release and the way email exchange service is made/configured (or runs).
There might be some tweaks or possible patch for this service...
But don't know what or where, yet ...
My 2 cents ...
The phone keeps at least one connection to Google open at all times (C2DM push) when it has a network connection.
Open and half-open connections do not really cause high battery drain since your device can (and will) go to lower power states and switch the network to fast dormancy which is a sort of periodic polling for new data.
A scientific article about the topic can be found here: Link (PDF)
The relevant part is in footnote 4 of paragraph 4.1.2
In fact, even at IDLE, a handset periodically wakes up to listen for incoming packets on the paging
channel. If a downlink packet happens to arrive between two paging occasions, it will be delayed until the next paging occasion
Click to expand...
Click to collapse
Additionally that IMAP is poll-only is not entirely correct. While IMAP itself is usually only used as PULL (client requests, receives, closes connection) many servers support the IMAP IDLE mode (client requests, receives, waits for new data, receives, waits, ...) which is a real push technology.
(Technically it differs from Google's C2DM which in fact is HTTP (Comet) long-polling and not true pushing)
I've noticed a high battery drain on Exchange too, even if the account was disabled. It's unrelated to how the phone is connected (Wifi,3G,2G) and _seems_ to get lower when no data connection is open.
It will only go away if the account is removed and seems to caused by the app waking up all the time even if not needed. Thirdparty apps and stock Android do not seem to have this issue - at least my S1 did not.
(I haven't tested on the S3 with a non-stock app yet)
Btw my Exchange server is a patched Z-Push IMAP/SMTP<->Activesync converter from their trunk with Exchange2007 capabilities.
Yes, there HAS to be a bug in the exchange app on this phone.
I got my phone a month ago, and have had no issues with battery drain and high data usage with Exchange what so ever. Until this weekend.
All of a sudden, with no change in the settings at all, my battery all of a sudden just lasted 5-6 hours. It got really warm too. Then after a day or so, I got a message that my monthly limit of data was reached. I didn´t believe this at all since I had more than 500 MB left on my limit the day before.
But when I checked the settings, I was shocked to see that this was true indeed. And it was "exchange services" that caused this. It had downloaded about 600-700 MBs over this short period, thus (of course) causing my battery to drain quickly, and I will now get a nice bill from my phone company for over use of data
As I said. No changes to the settings were done. This happened over night. And of course this has to be a bug in the app, not a server-issue. No one else in my company, as far as I have heard, had had this issue (yet), but after googling I can see that this actually is a problem for many, with different phone brands.
It seems like google has got complains about this, but there has not been released a fix, which is totally unacceptable. I now have had to turn of my mail sync to prevent the data usage to go insane, and my phone to get warm, slow and quick battery drain.
If this isn´t fixed quickly, I will uninstall Exchange services from my phone (have root), and install Touchdown instead.
Here is the problem discussed:
productforums.google.com/forum/#!topic/mobile/tCA92MdBTmc
- but with no solution.
Issue was resolved by deleting account and reinstalling it. But I had to do it twice before it worked.
I also cleand the Exchange Services App with the tool SD Maid before I reinstalled my account the second time.
My battery is back to normal, and no more crazy data usage.

[Q] Exchange with Stock Android: Push Connection

When using the stock email client (more specifically, CM10.1) and adding an Exchange account, I experience the following behaviour:
In the synchronization intervall settings, when I choose "Push", I get the expected behaviour: everything arrives "instantly" when it is created, be it a contact, a calendar entry or an e-mail.
But, when I change the intervall to let's say 4 hours, only E-Mail requests are executed every 4 hours, while everything else is still using push (calendar, contacts...). This effectively means that there is no real benefit to changing the synchronization intervall when it comes to saving power, because the push connection is kept open anyway.
Samsung stock software does this differently: if you set the intervall to 4 hours, everything is grabbed at that intervall and no connection to the server is kept open.
Is the CM10.1/AOSP behaviour intended?

Exchange Email - Credentials needed error

Hi all,
I have an LG G7 One running the stock OS with the latest March security update. Ever since the February security update I've noticed this issue.
I'll periodically get a notification saying Credentials needed. Enter credentials for (my exchange work email). I click o it and enter my username and password and I get an error that they're incorrect (they're not). I've confirmed all settings in terms of domain, server, port, and security type. This account works fine on my iPad and Windows 10 mail. I've tried removing the account from my device and adding it with no help. I've cleared cache from the Gmail app with no help. The weird part is that every now and then it's able to sync successfully. It happens at inconsistent times of the day and there seems to be no patterns in terms of being connected to a certain wifi network or being in a certain location. Does anybody have any ideas of what might be causing this or what I can try to pinpoint and eventually solve the problem?
Thanks!
Bump

Categories

Resources