How to control Gmail Exchange sync frequency from Tasker? - Tasker Tips & Tricks

Hi all,
There was a feature in old Exchange stock Android email app that I miss: "peak time"... You could define two different sync frequencies based on hours/days. I'm currently doing something "similar" with Tasker + Synker plugin, which enables you to de/activate android account sync... But It's not the same, as this way if I enter my exchange account and what to see my mails or write a new one I can't because sync is disabled... I would love to be able to change sync frequency from "push" to "manual" when out of peak hours... As you may know, exchange push is a little of a pain for our battery.
So: any way to control sync frequency from inside a Tasker task?
Thanks a lot!

Not exactly, but you can set up time-sensitive contexts and then enable/disable syncing using Synker.

MishaalRahman said:
Not exactly, but you can set up time-sensitive contexts and then enable/disable syncing using Synker.
Click to expand...
Click to collapse
Yes. That's what I'm doing right now... but then out of hours I can't use it as the sync it's disabled. I'm searching something more usable.

Related

Pocket Outlook Email - Can I disable automatic syncing when...

Is it possible to disable automatic syncing without having to go into each account and alter the settings?
I'd like to be able to disable my phone from checking work related email on the weekend and disable all my accounts from syncing at night when I'm sleeping.
I don't see any settings that do this, but I thought maybe this info is stored in the registry? If so, couldn't .cab files be created to alter the registry? That way, I can add those .cab files to my start menu and with a single click it will change the registry and no longer sync those mail accounts. Maybe I'm not saying this right... but I'm thinking along the lines of the Cingular Proxy cab that is used to enable or disable the proxy by using the start menu.
Is this possible?
if its via the exchange server you can goto (in activesync)
menu > schedule then adjust your peak times n make it manually for for off peak times
Humz said:
if its via the exchange server you can goto (in activesync)
menu > schedule then adjust your peak times n make it manually for for off peak times
Click to expand...
Click to collapse
My accounts are IMAP and my two mail servers are not MS Exchange... so that won't work for me.
install phoneAlarm and you can set your email and activesync auto-update preferences for each profile.
dgduris said:
install phoneAlarm and you can set your email and activesync auto-update preferences for each profile.
Click to expand...
Click to collapse
That's pretty cool.. I didn't realize PA had the ability to change email syncing times.
One problem though... I'm using a manila ROM on my phone so I never see the default home screen. Is there a way to change profiles with a button?

[Q] Push Notification on Gmail App

Does Push Notification (not enabling 'Auto-Synch') works with GMail App? I am not getting it to work while GMail App overview on market say 'Email pushed automatically to your phone'
----------------------
SGN (GT-N7000), 2.3.6
My phone has the same problem. Mails arrive at random, but are not pushed... My gmail app is v2.3.5.
Sent from my GT-N7000 using XDA App
I am not sure, but I think you have to have auto sync enabled for push to work for Gmail.
Sent from my GT-N7000 using xda premium
Yes. You need to enable Sync in your settings for push email to work.
Without Autosync On, gmail push mail will not work, but if you configure 'Email' or Social Hub, then you can set it to fetch mail at certain duration e.g. every 5 min. or 30 min like this
anakin1979 said:
Yes. You need to enable Sync in your settings for push email to work.
Click to expand...
Click to collapse
but then that's not the push mail but rather gmail app will keep polling. i am concern about battery drain.I will try to configure gmail account in Samsung native email client and see how it goes.
My experience : Samsung native enail checking freq @ 5min, draining much more battery thn gmail sync ON
here is how you push G mail-I've been doing it for a couple of years
You set it up as an Exchange account like this:
enter user name and password
do manual set up
select Exchange
leave domain blank and /your user name as is
leave password as is
change server to m.google.com: 443
select push
Syncs just like any other Exchange account.
dr.ketan said:
My experience : Samsung native enail checking freq @ 5min, draining much more battery thn gmail sync ON
Click to expand...
Click to collapse
I doubt...my observation is i get email on SGN as soon as delivered on my laptop for exchange account and having 'Auto-synch' disable so not possible unless Samsung native email app do continuous 'polling', which i really doubt so it looks genuine push service to me.
Sebring5 said:
You set it up as an Exchange account like this:
enter user name and password
do manual set up
select Exchange
leave domain blank and /your user name as is
leave password as is
change server to m.google.com: 443
select push
Syncs just like any other Exchange account.
Click to expand...
Click to collapse
Thanks...i wasn't sure about server name and thought need to enable pop-up forwarding on gmail account first but tried above and working perfectly.
Just minor point is you can't put ':443' as server name in exchange server, that do not allow to configure the account so i put 'm.google.com' as server name and working perfectly fine.

[Q] IMAP Push email on Mail app ?

Is there is no support for PUSH email through IMAP on the stock mail app ? I've been using K9 and while K9 works great, the UI on the mail app looks more pleasing and easier to navigate than K9. I'd like to migrate my work email to it, but only if I can get push.
I'm leaning towards its not possible through IMAP because I couldn't find anything while in the settings, but it's worth a shot to ask.
Anyone know ?
efox29 said:
Is there is no support for PUSH email through IMAP on the stock mail app ? I've been using K9 and while K9 works great, the UI on the mail app looks more pleasing and easier to navigate than K9. I'd like to migrate my work email to it, but only if I can get push.
I'm leaning towards its not possible through IMAP because I couldn't find anything while in the settings, but it's worth a shot to ask.
Anyone know ?
Click to expand...
Click to collapse
The stock HTC mail app has always supported this, so I'd be very surprised if anything has changed. Sounds like you already have the IMAP setup within your e-mail account, so you just add a new account and choose "Other (POP3/IMAP)" from the options and enter your particulars. Microsoft Exchange ActiveSync is also supported.
wnp_79 said:
The stock HTC mail app has always supported this, so I'd be very surprised if anything has changed. Sounds like you already have the IMAP setup within your e-mail account, so you just add a new account and choose "Other (POP3/IMAP)" from the options and enter your particulars. Microsoft Exchange ActiveSync is also supported.
Click to expand...
Click to collapse
Doesnt work. On K9 it works flawlessly. With the mail app it doesnt.
The ONLY thing it could be, is my understanding of what SmarySync does. I've tried varies combinations of peak and off peak. But there is no push option. Its either smart sync, or some interval (every 5mins, 30mins, 1h etc..). With smart sync enabledd, it takes minimum 5 mins before I get a notification that I have an email. lol...thats the most laziest 'push' ive ever seen if that is what htc is calling push email. lol
Anyone get a non Google and non Microsoft Exchange email account added with working push ?
bump
I'm not entirely sure if this has changed but it used to be that POP and IMAP were client-based protocols meaning that the client initiates the act of message retrieval and the server sends messages as they're requested. Push requires a server initiated connection or at least would have to have a way to ping the client to make sure it's still available. Hopefully someone who knows more will chime in to confirm this or correct me where I'm wrong...
efox29 said:
Doesnt work. On K9 it works flawlessly. With the mail app it doesnt.
The ONLY thing it could be, is my understanding of what SmarySync does. I've tried varies combinations of peak and off peak. But there is no push option. Its either smart sync, or some interval (every 5mins, 30mins, 1h etc..). With smart sync enabledd, it takes minimum 5 mins before I get a notification that I have an email. lol...thats the most laziest 'push' ive ever seen if that is what htc is calling push email. lol
Anyone get a non Google and non Microsoft Exchange email account added with working push ?
Click to expand...
Click to collapse
Far as I know, push doesn't work with the stock mail app. Smartsync just extends the sync interval when you don't use the mail app for a while.

[Q] mail sync

I am using the simple email app included, Gmail is disabled. Using arhd 10.1 but this problem was here long before with original stock.
I guess I have already tried all possible combinations to have the mail sync, maybe someone else has an idea on how this works if at all.
In settings I tried the smart sync, then each number of minutes, whatever I put in there, the only way to have the mail query the server is to manually open the application. For instance, I send myself an email from desktop, my ipad picks it up in a matter of seconds, I mean the fu$#er is in sleep mode, cover on, then I almost instantly hear that notification sound. The One however, I could wait all day, no sign it knows about it.
I have 2 email accounts configured, yahoo and Gmail, I also tried to add one at a time, nothing seems to help.
Thanks for any idea on how to make it work or any suggestions on a third party app?
Sent from a pizza
Smartsync takes time to build a database of data about your usage and when to check for email. For Gmail the best bet is the Gmail app, which will get almost instant push notifications.
cschmitt said:
Smartsync takes time to build a database of data about your usage and when to check for email. For Gmail the best bet is the Gmail app, which will get almost instant push notifications.
Click to expand...
Click to collapse
I'd rather be using only one app for my email accounts - - the stock mail for instance.
It's just that no sync mode seems to work, be it smart or not
Sent from a pizza
millicent said:
I'd rather be using only one app for my email accounts - - the stock mail for instance.
It's just that no sync mode seems to work, be it smart or not
Sent from a pizza
Click to expand...
Click to collapse
like the guy said above. smart sync needs to build a repour before it will know when to check. its not having information pushed to it like the gmail app is. your best bet is to use the 2 separate apps since each individual app has the ability to push emails immediately while HTC's smart sync or manual sync is just basically timed sync-ing. its just that smart sync is timed to how the phone learns your usage?
syaoran68 said:
like the guy said above. smart sync needs to build a repour before it will know when to check. its not having information pushed to it like the gmail app is. your best bet is to use the 2 separate apps since each individual app has the ability to push emails immediately while HTC's smart sync or manual sync is just basically timed sync-ing. its just that smart sync is timed to how the phone learns your usage?
Click to expand...
Click to collapse
As I said the manual mode doesn't work either.
I am going to try k9 for now..
Sent from a pizza
Okay, I think the problem might be elsewhere: the k9,same as mail doesn't seem to sync either. I have tried this over wifi and data, in power settings the sleep mode is disabled, I even disabled power saver.
Does email synchronization works for anyone excepting gmail users?
I am going to enable gmail, see how that behaves with sync..
Sent from a pizza
Manual mode as in your in the mail app and request it to refresh? And the email still doesn't come through? Not sure then.. I used smart sync for a while then I found it to not update fast enough for my needs. But it did always work.
Sent from my Nexus 7 using Tapatalk 4 Beta
The mail app syncs over wifi, I found out. Yes, it took a while (set it up to check at 5 minutes.). However, it still doesn't work when screen is off.
While on data only, the whole sync is very conservative. Unless I open up myself the mail thing it doesn't bother to refresh. In fact, the only thing synchronizing over data is weather from BW widget, but even then I am afraid it only refreshes itself when opening the screen. Ah, and Google play, I get notifications over mobile data as well.
I mean I used to want this conservative data behavior when on 100mb data plan, however now I have 3gb to spend and having trouble with email notifications?
I suspect there might be a misbehaving app will try reinstalling everything and one app at a time..
Sent from a pizza
Does this help?
http://forum.xda-developers.com/showthread.php?t=2267281
penultimate post.

Enable/Disable exchange sync by time?

The stock email app doesn't have this functionality. Anyone know how to get this working? I want to sync from 8-6 and ignore all those after hours emails
Restola said:
The stock email app doesn't have this functionality. Anyone know how to get this working? I want to sync from 8-6 and ignore all those after hours emails
Click to expand...
Click to collapse
I used to use Tasker for it. Activesync only syncs when the device is set to sync. I would disable my device sync after office.
I gave up on the built in app because I didn't want to get tied down with the security that my company forced on the phone. I started using Nine which has app based security so now I can use my touchless controls without any issue.

Categories

Resources