Mail app bugs - Android Software Development

I'm having a couple problems with the default mail app. It doesn't matter what I set it to download, it just overrides it - for example if I set it to download emails from just today, it will download them from the past few days; if I set it to download 20 emails, it will download 50. It seems to just ignore the settings and instead just download a random number of emails that it chooses.
Another thing, I'm running out of space on my internal storage and according to the Applications Settings, the Mail app is taking up a lot of space (20mb). I deleted one of my mailboxes (I had 2), and the Mail app still takes up 20mb! Deleting all of those emails didn't free up ANY space?

Related

Can not delete email from pop 3 trash can

i have Vodafone version of this phone, i have 4 pop3 email accounts set up, they are all BT Internet, once messages have been read i press delete and they are transferred to trash can, here it is impossible to delete messages permanently, i press and hold and the delete button appears but when pressed it, it says message deleted but then the message returns, i have over 40 old messages in the trash can and i cant get rid of them permanently, ANY IDEAS? I SPOKE TO HTC AND THEY SAY ITS THE VODAFONE SOFTWARE WHICH IS CAUSING THE PROBLEM, ITS SO ANNOYING
ak
There is a long thread about this on the Vodafone eforum: http://forum.vodafone.co.uk/index.php?showtopic=25304&st=100
Yeah your stuck with them mate. Forget the default email app on the magic and go and get your self the K-9 app (free) from the market place.
It DOES delete your emails and to be honest is the best email app around, best of all it's free!
You can try going into applications --> manage applications on the phones settings, scrolling down to email or google mail/google mail storage and then click the 'clear storage' button. Apparently this clears the trash can. Works on my mates but for me it just screwed up Gmail so it's up to you if you try it.
Either way go get K-9

Sgs lags only when using Samsung email

Hi,
As the title says. .can u guys try it out. .im running on foryo now but the same thing was on 2.1...
It only lags when i configure an email account in the email client. ..once deleted NO LAG. .
Btw what's up with the gps fuss. .mine is working perfectly infact its best gps and wifi in a phone i owned.
Sent from my GT-I9000 using Tapatalk
SGS also lags when browsing through different memos in Memos application. It's hilarious!
u didn't get what im saying it only lags after configuring an email account. ..ex ur memo browsing might not lag if u remove ur email account. .
Sent from my GT-I9000 using Tapatalk
Well, I don't have seperate email accounts configured, only Gmail.... so don't know about that.
Either you've never had a gps-enabled phone before, or your previous phones have been useless, as my experience is that my old G1 has better gps than my SGS - it locks MUCH faster and is 100% accurate, whereas the SGS never gets within 10m of my location and once I start moving it just goes haywire - MY Tracks shows me driving through fields and houses 90% of the time and occasionally I've done handbrake turns in someones front garden apparently.
;8827033 said:
Either you've never had a gps-enabled phone before, or your previous phones have been useless, as my experience is that my old G1 has better gps than my SGS - it locks MUCH faster and is 100% accurate, whereas the SGS never gets within 10m of my location and once I start moving it just goes haywire - MY Tracks shows me driving through fields and houses 90% of the time and occasionally I've done handbrake turns in someones front garden apparently.
Click to expand...
Click to collapse
I don't know but i never faced an issue like that and the fix is pretty fast compared to my touch pro and omnia 2
Sent from my GT-I9000 using Tapatalk
Lag also without email-accounts
Since upgrading to FroYo 2 weeks ago i haven't bothered to enter my email-accounts. (only gmail)
But it still lags!
dspjern said:
Since upgrading to FroYo 2 weeks ago i haven't bothered to enter my email-accounts. (only gmail)
But it still lags!
Click to expand...
Click to collapse
You can add my name to this list. I've never used Samsung's crappy E-mail app, yet my phone lags constantly.
Back to the drawing board, eh?
adel6 said:
Hi,
As the title says. .can u guys try it out. .im running on foryo now but the same thing was on 2.1...
It only lags when i configure an email account in the email client. ..once deleted NO LAG. .
Btw what's up with the gps fuss. .mine is working perfectly infact its best gps and wifi in a phone i owned.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
I have experienced the same thing, i mainly experience the lag in the email app itself though. System Panel shows a steady 30% cpu usage when just looking at the email screen(s), and a steady continious +50% cpu when in the Accounts & Settings of the email accounts, so there is something odd. It seems to relate to Exchange accounts, but i'm not sure.
I read somewhere that a K9-mail user had a problem, downloading 20-25 messages took 10 minutes. After applying Voodoo Lagfix, this dropped to 2 seconds... So maybe the email app is really hammering the internal SD card for no good reason, which would explain the high CPU .
I've never used Samsung's crappy E-mail app
Click to expand...
Click to collapse
Correct me if I'm wrong, but isn't the e-mail app on the Galaxy S identical to the "stock Android" one?
I use the GMail app myself and I have no problems with it. The Memo app turned painfully slow after the 2.2 update, but fortunately I don't use it
pwhooftman said:
I have experienced the same thing, i mainly experience the lag in the email app itself though. System Panel shows a steady 30% cpu usage when just looking at the email screen(s), and a steady continious +50% cpu when in the Accounts & Settings of the email accounts, so there is something odd. It seems to relate to Exchange accounts, but i'm not sure.
I read somewhere that a K9-mail user had a problem, downloading 20-25 messages took 10 minutes. After applying Voodoo Lagfix, this dropped to 2 seconds... So maybe the email app is really hammering the internal SD card for no good reason, which would explain the high CPU .
Click to expand...
Click to collapse
I haven't bothered investigating cpu usage and such, but I can confirm that the email client profits tremendously from a lag fix (OCLF, in my case, using two Exchange accounts).
As stated in Post #11, i had the same problems. After Setting back to Factory Defaults and installing Voodoo Lagix last night, my conclusions are:
- the problem is introduced/highly aggrevated by installing Froyo 2.2 over Eclair 2.1, which i did through Kies with the registry hack two weeks ago.
- a format of the Internal SD Card, followed by a reset to Factory Defaults, solves the problem to a point the email app is useable again (albeit no speed monster). Also, this solved other ittermittent force closes which i was suffering from mostly in Agenda related apps. Of course you will loose all apps and data doing this.
- Applying Voodoo lagfix solved the speed issues almost completely. You can still tell the email app isn't the best programmed app of the bunch, but its perfectly workable. Installing Voodoo was a breeze following the step by step instructions found through project-voodoo.org.
It does seem a little more responsive after removing te email account.
I will try the voodoo lagfix. But I'm hoping for an updated version of FroYo.
Try this app for email including exchange, it was provided by seven for Samsung, but it was not put on all Galaxy S's, seems to work quite well.
http://forum.xda-developers.com/showpost.php?p=8731758&postcount=25
Sent from my GT-I9000 using my ASS!
Running JP6 with voodoo. The default mail app works nicely with two accounts. One exchange and one imap.
No lags even with a few days uptime.
Exchange email accounts drain battery fast on Scandinavian Froyo update
To illustrate something is amiss with the Scandinavian Froyo update, that Samsung pulled afterwards:
If you set up Exchange email accounts, setting the Email retrieval update interval to anything else than 'Never' results in a continious 10% CPU load, draining the battery two times faster than in Eclair 2.1
I set it to 'Never', or have Tasker kill the Email app x seconds after Display Off
Determined by using System Panel app.
Edit: flashed JPA firmware (which is believed to be the official Froyo update coming 11-11), problem still exists
Test with K9 and default Android Email app on i9000
Did a test on my i9000. Stock 2.1 no lag fix. Bought SIM-Free so only has Samsung's tweaks and no mobile operator branding.
I9000XXJM1
ECLAIR.XWJM2
TEST A. Default Email application
1. Used Email app (default one that comes with Android):
Added two Gmail accounts / IMAP, SMTP, SSL.
No unacceptable lag other than that encounted without the usual lag-fix.
2. Added 1 non-Gmail account / IMAP/ SMTP-AUTH, TLS
System became nearly inoperative. Swiping between home screens took 2 seconds. Using most apps, caused the screen to remain black for between 2 and 30 seconds. In one case using Xscope (browser, which was now impossible to use - unresponsive and 3 mins to draw a page) caused the screen to remain black for approx 3 mins. Contact, Messenger and Phone apps took a max of 2 seconds to open, but always opened. Outbound call quality degraded to the point the called party complained. I did not notice an app crash.
TEST B. K9 Mail application
1. Used K9-Mail app :
Added two Gmail accounts / IMAP, SMTP, SSL.
No unacceptable lag other than that encounted without the usual lag-fix.
2. Added 1 non-Gmail account / IMAP/ SMTP-AUTH, TLS
System became nearly inoperative. Swiping between home screens took 2 seconds. Using most apps, caused the screen to remain black for between 2 and 30 seconds. In one case using Xscope (browser, which was now impossible to use - unresponsive and 3 mins to draw a page) caused the screen to remain black for approx 3 mins. Contact, Messenger and Phone apps took a few seconds to open. Outbound call quality degraded to the point the called party complained. I did not notice an app crash. System load hit 39, which is very overloaded for a 1 CPU device. Often it was between 10 and 20.
I suspect the I/O but I did not see iostat in busybox; the stdout from top was badly formatted on the SGS display so I could not read the I/O column.
Notes:
i. Test B Result 2 is almost a copy and past of Test A Result 2. This is because the results were pretty much the same.
ii. System load (vmstat and top) I did not check system load with Test A. I only did this when I used K9-Mail.
iii. System was rebooted each time after an IMAP account was configured.
iv. I have since removed the non-Gmail IMAP accounts. It was hell. I almost beat the SGS into the wall.
v. Important: the non-Gmail IMAP account has the following in the mailbox:
Inbox 658 messages totalling 68.4Mb.
vi. K9-Mail configured to fetch full headers and messages <2kB hourly, and only the fetch the Inbox.
vii. NON-Gmail IMAP server capacities:
* OK [CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS LIST-EXTENDED I18NLEVEL=1 STARTTLS AUTH=PLAIN] Dovecot ready.
No problem here - Google use Dovecot.
viii. A factory reset was done between the two tests. (Settings -> Privacy -> Factory data reset)
viiii. GMAIL IMAP accounts contained approx 20 Emails each in the Inbox. I await more SPAM for testing purposes.
UPDATE.
I had 1,000 Emails sent to me on Gmail. Then reran Test A Part 1, and had the Email app load 114 of these. The SGS stated to lag. I opened one of the messages (containing only 1 line of ASCII email), and the Email partially opened the Email, splutted, stopped, hung, screen went black. Eventually, I closed the app down. Even the Active Applications widget (and the programme it lauches) is slow (and red).
I went onto Gmail and deleted the 1,000 Emails, and synced the Email app with Gmail IMAP server. Messages read 0, and the SGS was back to normal speed without lag-fix.
I soubt very much that any one is using a normal Email account with the SGS Email app. I suspect most are using Gmail with the Gmail application. I cannot comment on the lag fix (I await CyanogenMod for mine), but the SGS cannot be used with a non-Gmail account without a lag fix : useless for me since I only use Gmail for the Market ; Like many people, work provides the Email account. Clearly, Samsung test team did not test their wonderful RFS with normally sized IMAP accounts. Nice one, Samsung. 10 out of 10 for cocking it up.
As for GPS its something like thsi:
- Where are the sats?
Oh there they are.
Please don't move for 30 seconds.
Found some!
Oh feck, you've moved.
Now where are those pesky sats?
What was I doing? Oh sats!
Setting Exchange to'"Push" seems to solve it
I came across this and lo and behold, excessive CPU usage goes down to fairly normal 1-3% CPU while asleep by setting Email retrieval for Exchange accounts to "Push"
Edit: at least, it did for a while. Now its back to previous behaviour. I'm still investigating
Series of tests reveal that email client performs different in certain circumstances
I made a lot of testruns of about one hour to determine the effect of setting up Email Exchange clients on CPU usage and therefore battery life:
Starting point:
- Build Froyo.XWJPA
- Smallband I9000XXJPP
- Voodoo lagfix
- One Gmail account set up, syncing contacts, Gmail, Picassa, Agenda
- Tests run against two separate Exchange Server 2003 servers SP2
- CPU load determined with SystemPanel app
1. Installed Exchange account #1 without security policies. Email retrieval set to "Push".
- Email process used 0% CPU, system CPU floating around 3%
2. Set Exchange account #1 to retrieve email every hour
- Email process used 1,1% CPU, system CPU floating around 10%
3. Set Exchange account #1 back to "Push"
- Email process used 0% CPU, system CPU floating around 3%
4. Set Exchange account #1 to retrieve every 5 minutes
- Email process used 1,5% CPU, system CPU floating around 10%
4. Added Exchange Account #2 with security policy, Email retrieval set to "Push"
- - Email process used 0,5% CPU, system CPU floating around 10%
5. Set Exchange account #2 to retrieve email every hour
- Email process used 1,5% CPU, system CPU floating around 10%
So, what seem conclusions from this test:
1. One Exchange account set to `Push` doesn´t affect battery life much. 'Push' is generally considered the most battery effective.
2. One Exchange account set to some time interval does affect CPU considerably, therefore batterylife also. It's irrelevant what interval is set. The reason the total system CPU goes to around 10% seems to be that the process name ´system´ starts using several % CPU as soon as the email process does. Based on the experience that the email client is slow with an exchange account without a lagfix leads me to the conclusion the email app is performing large amounts of I/O in this setting. This link (comment 14) seems to confirm this. Experiences here (comment 15 & 16) are similar.
3. Adding another Exchange account with security policy enforced increases CPU, no matter at what interval this second account is set. This could be related to the bug found on Motorola Droid that when the Maximum inactivity time out in the Activesync properties on the Exchange server are set to a higher value than the highest supported value on the phone, the email app keeps the phone in a wake lock.
So, i just have my exchange accounts set to Never. For one account, automatic retrieval is useless anyways because mail gets delivered to subfolders (which do not sync or get pushed automatically). Fot the other, i'll just have to open the email app every now and then and let it fetch mail at that moment.
This problem doesn't seem to be limited to the Galaxy S, Motorola Droid is mentioned also in above threads.
Improved Email
I can advise everyone to look into "Improved Email" at http://www.mwebster.us/
It has the ability to sync specific subfolders, hide subfolders, apply color of your choice to the account, open up the email app in folder view, etc
Tip: first delete exisiting Exchange account and setup a new account from within the improved email app

loooking for an alternative to the gmail built in app?

Hi
I get the sending.... hanging problem with the galaxy s built in gmail app.
clearing the cache doesn't work, and using the other email app wont attach video , it just says too big.
what are the good alternative email programs?
Cheers
Hi,
I'm using K-9 Mail via an IMAP Account and are fairly happy with it. Only one thing: Push-Mail via IMAP-Idle drains the Battery like Hell... but a 15 Minute poll is fair enough (shorter Intervals are also available).
And it is FOSS...
Bye
ayn said:
Hi,
I'm using K-9 Mail via an IMAP Account and are fairly happy with it. Only one thing: Push-Mail via IMAP-Idle drains the Battery like Hell... but a 15 Minute poll is fair enough (shorter Intervals are also available).
And it is FOSS...
Bye
Click to expand...
Click to collapse
cheers K9 came up in a google search, it sounds good
I turn off sync with email and check it manually when i want to.
its more about sending an email and it actually getting there . where the gmail app fails .
I check my mail on my main computer, but use my phone to 'quick check' stuff. but if an app is a 'beast that takes ages to open' that would be a pain. I didn't think about battery life, (cheers for that). so many apps just run in the background on my galaxy s. as much as i love it, it is another crazy computer in my life .
is K9 a free app or advertising/donation?
also any other suggestions welcome too
Are you sure the gmail app is failing? If you've got your phone to manually sync, the email will never send. The gmail app does not send emails as per request, they are put in a queue and sent out only when the phone syncs. Try it now. Send an email and keep syncing disabled. Nothing happens. Hi options the. Choose refresh option and I will push through the queued emails. As for file size limit, I wouldn't know but I have added a total of 5.8mb in an email which sent fine.
Edit: re read your post. Use the gmail app and try what I said, it has no issues with file size like other **** apps.
galaxy44 said:
is K9 a free app or advertising/donation?
Click to expand...
Click to collapse
K9 is free open source software without any kind of adds or something else.
SargeRX8 said:
Are you sure the gmail app is failing? If you've got your phone to manually sync, the email will never send. The gmail app does not send emails as per request, they are put in a queue and sent out only when the phone syncs. Try it now. Send an email and keep syncing disabled. Nothing happens. Hi options the. Choose refresh option and I will push through the queued emails. As for file size limit, I wouldn't know but I have added a total of 5.8mb in an email which sent fine.
Click to expand...
Click to collapse
its a known issue:
http://www.google.co.uk/support/forum/p/Google+Mobile/thread?tid=1363d927a73ee840&hl=en
send sometimes works
sometimes doesn't (usually when i attach pic or video)
i can send very small test messages by clicking refresh
SargeRX8 said:
Try it now. Send an email and keep syncing disabled. Nothing happens. Hi options the. Choose refresh option and I will push through the queued emails. As for file size limit, I wouldn't know but I have added a total of 5.8mb in an email which sent fine.
Click to expand...
Click to collapse
i always use refresh to send the email with sync disabled
its a know issue
the file size issue is to do with the 'other' email program that came with my phone.
I've ruled both out as not fit for purpose.
but i don't want to try hundreds of apps so i thought a few good recommendations might help.
cheers anyway, but I'm giving up on the gmail app.
quick update:
I've tried K9
it had success sending video attachments (that were stuck on gmail app or cancelled on the other galaxy s email app)
the bad
when it set up, it took ages (i have 1000s of email on my gmail account. so it could just be that)
it doesn't seem to group the emails (like replies from forums etc) can i set the settings to do this?
the names like expunge and poll (empty trash and refresh)
it seems a bit slower than the gmail app? but i could just be me
i'm trying to get used to the scrolling left and right in messages.
the good
it showed the full message
it could send video attachments to gmail (is 25mb max for gmail)
it sent the items (unlike the gmail app)
it seems pretty equipped with options
looks ok
I'm still not sure
What else might i try?
ok
I'm using a Samsung Galaxy S
I shoot 3 videos (all 3 are about 7mb)
Gmail can handle attachments up to 25MB
Gmail app always gets stuck on sending (with no warning to let you know its not sent)
MMS wont convert the files
Other Email app wont accept the file size
K9 sends them (which is a step forward)
but doesn't group messages by conversation
also it has the push always running (i don't know what push is)
and seems to always be checking my mail (I don't mind exploring the oddly named and confusing settings if its the program i am going to use)
also the built in gmail app shortens messages so replies from this forum wont display the link to the topic (pretty annoying) the other built in email app does display the link long enough to click.
I feel very frustrated.
I just wanted to send a couple of funny videos to my friend via any means.
And it feels like my Samsung Galaxy S is just completely against me doing this in any easy fashion
I might keep K9 but turn all the setting to check the email off and use it if i want to send a file.
how do i turn the check mail settings off on k9 (the options are confusing, confusingly named, and different depending on where you are in the program.
if i turn K9 off, and use it only occasionally will it take ages to open if i keep all my messages on the server?
Or is there a fourth email program:
that opens fast
groups the messages
sends attachments up to 25mb
Cheers
i tried Maildroid but he adds were annoying.
back to K9:
How do i stop K9 automatically checking mail?
and how do stop the k9 mail service app running constantly (i assume its the push thing)
I'm thinking of keeping the app on there to send files by email, and for links that don't show up properly like replies from this forum. but i don't want it spanking my battery or checking for emails
How do i set it up for "there when i need it"?
the options are confusing and have nonsense kind of names.
Cheers

HTC Mail has a significant memory leak

I have reason to believe that HTC Mail has a significant memory leak or bug which is causing all of the "Phone storage is getting low" messages. I've had the phone for 2 weeks as of this thursday. my setup is 4 pop3 email accounts configured during the initial setup in HTC Mail. I've noticed during the two weeks that the HTC Mail app has been steadily ballooning in size. it starts out small enough, just a few megs, but after a day or so jumps to 40-50megs. After that jumps to 80megs, 90megs, 100megs, 110megs etc.
At around 110-115 megs it triggers the "phone storage low" messages, and soon thereafter the phone essentially becomes non-functioning. the problem is that as far as i can tell, there's no way to reduce the file size of this HTC mail app once this process has started. i've deleted every shred of email, all inboxes, all sent, all trash all everything from every mail folder for every account - no reduction in app size. then i set about actually deleting the email accounts themselves one by one - no reduction in app size.
i trashed every shred of email from the system, and the HTC mail app still hovered around 110megs (and the phone storage low indicators continuing). after researching the issue online and piecing 2+2 together i realized that the only solution is to wipe the phone. the issue there is that there are no guarantees that the issue wouldn't resurface again (actually it's quite likely).
so after wiping the phone last night, i did NOT setup HTC mail, but rather switched to K9 (just using gmail exclusively is also an option). so far zero issues. obviously 12 hours or so is too small a sample size to make definitive conclusions, but after all of the research i've done i'm confident the "phone storage is getting low" errors will not return.
bottom line: HTC mail seems to have a very significant memory leak or bug that causes it to blow through its allocated memory at an alarming pace, and there is very little that can be done to stop it once it's started. i would strongly recommend to those of you with the above issues to NOT use HTC mail after wiping the phone...
Don't delete the accounts. Just go into Account Settings > Send & Receive Settings > and reduce the number of days under "Download Options".
Problem solved.
aeleth said:
Don't delete the accounts. Just go into Account Settings > Send & Receive Settings > and reduce the number of days under "Download Options".
Problem solved.
Click to expand...
Click to collapse
Can anyone verify this? As a tech in a vzw retail location I've seen this a couple times and haven't thought to look at the HTC Mail. I've seen this on the Eris a few times and only once or twice on the Incredible.
I just clear the mail cache.. It lasts a few months each time I do this
... besides ...
How long are you going between reboots? If you want a decent charge, you have to power the thing off at some point.

Possible solution for surprisingly high data usage

I'm on a data plan with 1GB/month on my Galaxy SII. Recently, I discovered that my "credit" was shrinking incredibly fast, sometimes by multiple hundred MB a day. First I thought I might have downloaded a big game or app that day, but these high drops did not stop so I finally started to look for a solution.
I downloaded a data tracking app and tried to find out which app it was that downloaded so much data.
Finally, I found out that the pre-installed (Samsung) Mails app caused the problem. At every try to receive mails (which I had set to an automatic interval of 15 minutes), the app downloaded between 20 and 100 MB. It seemed like logging into one of my email accounts failed, but the app kept trying for multiple times et each sync.
Finally I set up an automatic redirection of new mails of all my accounts to one gmail account on the email provider's web site, deleted all email accounts from the preinstalled (Samsung) email client and I am now using the preinstalled gmail app, which works fine.
Now, my 1GB is enough for the month, again.
I hope this helps anyone with similar problems.
U could have simply disabled the sync... And when ever u want u could simply refresh the mail....
Prashanthme said:
U could have simply disabled the sync... And when ever u want u could simply refresh the mail....
Click to expand...
Click to collapse
Yeah, but every refresh would have been 20-100MB again vs some KB now...
1word droidwall
Download only headers and limit each mail to 20kb or so. I use K9 and Touchdown for my mails . As previous post, get a Firewall to monitor and block unwanted programs using up your data connection.

Categories

Resources