WM6: Automatically sync on WiFi connect? - 8125, K-JAM, P4300, MDA Vario ROM Development

Is there a way to configure WM6 to automatically sync with my Exchange server as soon as a WiFi connection is established? My ActiveSync schedule is set to manual, and I would like to be able to power the device on and have it sync as soon as my WiFi connection is restored.
Taking it one step further, if there was a utility that could automatically turn on WiFi, wait for connect, perfrom a sync, then optionally turn off WiFi each time I turned the device on, that may be desireable as well, as it would conserve battery.
MIKE

only way i can think of is mortscript... im assuming you dont have it set to push or every 5 min because of the data plan?

Consider to set your activesync-schadule to 'as items arrive.' In this way, a secure connection with your exchange server is created (if you got direct push-service, like in 2003 sp2 or 2007). This will be done when it has an Internet connection.
Nevertheless, it can take up to at least 4 min until the first sync is done. In my case it works perfect.

Related

Any problem using Mail2Web lately?

Hi,
Just to check anyone facing problem using Mail2Web lately especially this week?
On my side I'm having problem synching my set to Mail2Web
Thanks
RE
Sorry, I mean using 3G/GPRS?
Thanks
Mail2Web
possibly check yr settings in Active Sync, sometimes the schedule gets mixed up by synciing with yr PC,....btw, is the 'heartbeat' interval with Mail2Web still at 30 seconds, in other words is your phone sending and receiving data every 30 secs ? Mine was getting data 'heartbeats' continuously which was killing my battery and my data usage was 6kb/minute, just for the heartbeat, regardless of my registry settings. I've switched to another exchange server, and it uses 4kb per HOUR, and battery life not affected at all !!!!
YES YES YES
I am glad it is not only me. Mine started working again 5 minutes ago, but I don't know if it is something I did, or a host file I made with the ip address in it. I was always able to sync over wifi though. Maybe cingular DNS lost them.
FOSA said:
Just to check anyone facing problem using Mail2Web lately especially this week?
Click to expand...
Click to collapse
Yes, since yesterday no sync via GPRS is possible (o2 Germany).
With wifi via my home cable connection syncing is possible.
When using https://mobile.exchange.mail2web.com in Pocket IE via GPRS I get a certificate warning and after that a login page with a cisco logo, http-connections work fine.
Unfortunately I need a secure connection for active sync :-(
Certificates
That makes sense, that is what the error code points to. Anyone else up and running? What ever it was, I am glad it is fixed.
there is a problem.....I confirm...tried syncing with 4 differrent operators..every time got the error message " Sync cannot be com,pleted.Try again Later" :shock:
I can't sync via gprs either.
I'm on T-Mobile's network in the USA. I can surf the web via GPRS, but syncing via activesync and mail2web is not working via GPRS. Certificate error, which means its an issue on their end...
It IS working via any WiFi connection though...
...wow...
I submitted a trouble ticket at http://services.mail2web.com/About/Contact/
I used "mail2web exchange email" in the subject drop down box.
They replied w/n 10 minutes...!!! Thats better than my Verizon, T-Mobile and Direct TV customer service...and I PAY for those...!
The message:
"Greetings,
Please try doing a hard reboot of your device, by powering your device
off and then on again.
If you are using SSL with your account, please try then turning off your
SSL in your device and sync with the severs, then turn SSL back on and
try to sync again.
If this does not help, please verify that the time and date settings on
your device are correct, as this can also cause an issue when using SSL.
If you continue to experience difficulties syncing your device with your
account, please let me know and I will look in to the issue further.
If you need any further assistance, please do not hesitate to contact
our 24/7 support team at [email protected].
Thank you for choosing mail2web.com!
Regards,
Marya
Customer Support"
...and wow...it worked...!
Try turning OFF the SSL option in your Active Sync Exchange options. Then hit the sync button.
I feel bad, like I should be paying for this...lol...its a rare thing that a CRS over email can INSTANTLY solve a tech issue for me...!
Gotta give em credit for this one...
I am still having an SSL email issue and they are looking into it...but I dont have an issue w/ sending non-ssl email for a few days...
Give it a try...
Specific Steps:
Go to your Active Sync Screen, then:
-- Menu
-- Configure Server
-- UN-CHECK the "this server requires an encrypted (SSL) connection" box
-- dismiss the password warning if you get one
-- Next, then re-enter your password (removing the SSL kills your password)
-- Keep hitting "next" then "finish"
-- Hit the "sync" button
This worked for me. I got my full gprs syncing back...
Again, hats off to them...
Doesn't work for me. Do you use GPRS?
Sync without SSL doesnt work either
Hi, urksaddy
Are you using SSL to synconize? Because, if I swith to Sync without SSL, the active sync shows that the sync couldn't reach the Server and an error code of 80072f78 is given. What server and Domain did you use for the sync without SSL?
thanks in advance.
No SSL
Mine is working without SSL only, switching it back on does not let it sync.
Doesn't work for me either, because my O2-Wap-Flatrate in Germany needs SSL-Connection!
The MS-Support-Code is 0x80072F17
Re: Mail2Web
kashortie said:
possibly check yr settings in Active Sync, sometimes the schedule gets mixed up by synciing with yr PC,....btw, is the 'heartbeat' interval with Mail2Web still at 30 seconds, in other words is your phone sending and receiving data every 30 secs ? Mine was getting data 'heartbeats' continuously which was killing my battery and my data usage was 6kb/minute, just for the heartbeat, regardless of my registry settings. I've switched to another exchange server, and it uses 4kb per HOUR, and battery life not affected at all !!!!
Click to expand...
Click to collapse
What exchange server did you switch to? always looking for an alternative.
thanks,
Direct Push mail
I eventually unwillingly switched from Mail2Web because of the heartbeat interval ( possibly to do with the firewall settings at their server ) the device/server connection was pulsing every 30 secs, using data in ídle'mode and draining my battery. Ï mailed them often and they couldn't/wouldn't resolve it ( but I agree, they always reply fast, !! ) 4Smartphone is an alternative, althought there is a U$ 3.99 per month fee, I calculated it to be cheaper than the "ïdle"data cost per month with Mail2Web. (2kb every 30 secs adds up if you're connected 24/7 !! ) and i'm not on an unlimited plan ! Battery life is also a big issue for me when i'm "on the road". Interesting off topic, for anyone using a non-windows device, push mail is coming to 'normal' mobile phones. Search net for Tricastmedia and/or "Alwayssend" due July 06
thanks for the info, I keep hoping Mail2web will resolve the heartbeat issue, however they seem happy the way it is.
i have mail2web and got no problems connecting.
HOWEVER, my battery life has decreased dramatically once I started using the service. How do I know the pulse interval?
Also, i really dont know if this is an issue with activesync or with mail2web, but sometimes it takes FOREVER to get an email. Sometimes more than FIVE minutes. this way its even more effective to turn on automatic check every five minutes on outlook. Its really not push at all!
I used to have "chatter mail" on my treo 650, and any account that supports IMAP idle (a LOT of providers support it, many of them free) makes it true push. It would take, on everage, 2 to 6 seconds to receive an email. Now THATS push!
urksaddy said:
Specific Steps:
Go to your Active Sync Screen, then:
-- Menu
-- Configure Server
-- UN-CHECK the "this server requires an encrypted (SSL) connection" box
-- dismiss the password warning if you get one
-- Next, then re-enter your password (removing the SSL kills your password)
-- Keep hitting "next" then "finish"
-- Hit the "sync" button
This worked for me. I got my full gprs syncing back...
Again, hats off to them...
Click to expand...
Click to collapse
Thanks your information , when I took off SSL it work fine.

(Solved) Auto disconnect data whilst in sleep mode

Hi,
I have been experiencing major problems with my email checking. Most of the time it doesnt follow the schedule I have set up and if it does, it never disconnects the data connection.
I had tried everything, changing the battery and ac resume from suspend time to every option, setting the auto disconnect after x time feature in advance config and whatever I did I could not get a reliable solution......
Until now.
Its a bit long winded but it works, I have been testing for the last couple of days.
What I have done is
1. Install SKSchema (You do need to buy this software but it is well worth it) http://www.s-k-tools.com/index.html?m_downloads.html#sc
2. Install rk-OSR (Thank you tytnguy) http://forum.xda-developers.com/attachment.php?attachmentid=54284&d=1192440286
3.Install Advance Config (Thank you schaps) http://www.touc...anced-configuration-tool-33-cab-install.html
4. In advance config, under power management, set battery resume and ac resume from standby to 90 seconds, save and soft reset.
5. In SKSchema, go to settings and turn watch mode on. Then go to tools, press watch and then new. Under 'watch for', select 'any connection', under 'any connection' select 'connected', under 'execute', select 'device' and 'screen on'. Under 'with parameters' where it says #p() in betwen the brackets put in the name of your internet connection that is used to get your email for example mine is contract internet so it looks like #p(contract internet). Press OK.
6. Still in SKSchema go to tools again, press watch then new. Under watch for, select 'any connection', under 'any connection' select 'disconnected', under 'execute' slect 'device' and 'screen off'. Under 'with parameters' do the same as above and put your internet connection in between the brackets. Press OK.
7.Open up rk-OSR. Under 'accounts' make sure outlook email accounts and the email accounts you want to check are selected then tick the enable box.
Under schedules, add the scheduled times you want.
Under 'outlook', tick auto close outlook
The wait time to sync is the time it takes to check your accounts so select a time you think it will take to carry out these tasks. I have mine set to 20 seconds, you may want longer if you are checking multiple accounts.
Under 'internet' I have mine set to default connection which uses 3G/GPRS but you can set it to use wifi if you are in a available network. It will turn the wifi on, sync and then turn it off. If you select the option to use wifi or default this will look for wifi and if it cant connect will use 3G/GPRS.
Make sure you tick the switch off GPRS/3G box. This turns teh data connection off after sync.
The connection wait time is set to 20 secs
Under 'options' sync only if device is sleeping means that if you are say using tomtom, it wont sync whilst its doing this. I have this un selected.
Silent sync means it wont wake up the device. I have this selected
Notify of unread emails does exactly that as does notify failure to connect. I dont have wither of these selected.
Sleep device after sync i have ticked.
Press save and then ok
8. In the device sounds and notification settings under new email message, make sure you dont have the show message on screen ticked other wise the application wont close properly if you get a message.
Thats it, you are done.
Basically the reason for the SKSchema part is that when my device ws locked and in standby, the email sync would happen but it would get stuck on the messaging app and not go back to the today screen. The scripts basically turns the screen on when it has connected to the internet and then off when it is disconnected allowing the app to close properly.
I know it is a bit long winded but it is the only thing i have found that works flawlessly.
I hope it helps someone else.
I just realised how long this post is so i am sorry.
Matt
thankyou very much for thisssssssss
yea I hate my data connection staying open, but this seems a little much. I wonder if someone could make a little app that basically does what all these do for the fix to work. or maybe MS should just fix it.
You could just use DiamondTweaks and enable "DisconnectAfter" it will disconnect your internet connection after the specified time of no activity.
Hmmm... the diamondtweak is in fact an Option but the Problem with this method is, that the Connection wont disconnect while in Standby, because (i think) the Tweak isnt active during sleep mode (just like any other app/method). You will recognize that when you establish a connection, go to sleep mode immediately and wake up the phone after lets say 20 minutes. The Connection-Bubble will tell you, that the data connection has been active during the whole sleep-time...
So still no solution here apart from the quiet complicated one in the first post, huh...? (Thanks anyway
rk-OSR works for me
i had the same problem when auto syncing my hotmail account. i downloaded every auto disconnect program i could find and it worked most of the time.
it was mainly when i auto synced hotmail that the data connection would just stay open. however when i auto synced my google mail account it would close, whether it was in sleep mode or not.
so after searching for more solutions i came across this thread. i didnt follow all the instructions. i just downloaded the rk-OSR program and set my schedule and other preferences.
now the syncing of both my accounrs happens automatically through this program and my data disconnects as it should.
Disable all data connections
I had a huge problem with a few applications auto starting a data connection in my pocket and never shutting off. I wouldn't have a problem with it if I pay for unlimited data(which I don't). My solution to this was going into the connections settings and change the "select which networks are automatically used" to "my ISP" which I never set one up. This way, anytime it tries to connect using data from the cell provider, it pops up an error message and yea, no pocket data transmitions. I guess you could set up a false "my ISP" if you have already set up one.
There is an option somewhere in WM6.5 to turn off data connection when in sleep mode, i enabled it, but now it does not turn the data back on to check email. I spent 3 hours searching through the options to disable this feature and put it back to the default but it appears to be gone or I can no longer find it. Does anyone know where this option is supposed to be hiding so I can confirm if it in fact disappeared?
getmp3s said:
There is an option somewhere in WM6.5 to turn off data connection when in sleep mode, i enabled it, but now it does not turn the data back on to check email. I spent 3 hours searching through the options to disable this feature and put it back to the default but it appears to be gone or I can no longer find it. Does anyone know where this option is supposed to be hiding so I can confirm if it in fact disappeared?
Click to expand...
Click to collapse
+1
Anyone know which menu has the setting? Been drivign me crazy the last few weeks
Yes, i figured it out and posted the solution here:
http://forum.xda-developers.com/showthread.php?p=7920303&highlight=getmp3s#post7920303
I konw a fix called "GPRS-Tweak.cpl" can help you to disconnect the network when you shut down you app which must connnet the network.
I just have a chinese version, unzipped the attachment the copy into the window folder then, you will find it your startmenu>setting>system .
but is a chinese version ,if you want english version you'd better search on google.
sorry for my poor english
Found an easier way:
Settings > phone
then go to one of the last 'tabs' and the option to turn on/off GPRS etc when in standby is there...

DirectPush: how to turn off activesync and connection?

Hi people,
this must be a stupid noob question, but I couldn't find an answer in this forum.
I just wanted to try DirectPush service, so I set a Mail2Web Exchange account to have emails pushed right to my Diamond. I put all provided info in ActiveSync, and set it to sync "as items arrive".
Everything's working fine, emails sent to my Mail2Web account were pushed to my Diamond.
But... well, it doesn't work as I expected.
I thought that DirectPush worked like this:
- A new email arrives at Mail2Web account;
- Mail2Web Exchange server warns my device that there's a new email;
- ActiveSync starts up on my device;
- The connection (GPRS, EDGE or HSDPA) is opened;
- ActiveSync begins sync, the new email is received in my device;
- ActiveSync ends sync;
- The connection is closed;
- ActiveSync is turned off on my device.
This process would start for every new email arriving in my Mail2Web account.
In fact, this is what happens:
- ActiveSync starts periodically, even if there's no new email in Mail2Web, and even if I manually close it;
- Same thing for the connection;
- ActiveSync does not close automatically, my device keeps it always opened.
The problem with that is the battery drain. Since ActiveSync is always opened, and also the connection, battery is being drained faster than I would like.
Is this how DirectPush is supposed to work? Always with ActiveSync on and opening connections even without new emails? Is there a way to configure it in a different way?
Hey there,
Direct push needs a constant data/wifi connection for it to work, it does not work they way you described in that it wont establish a connection when a new mail arrives.
How ever, you can set times for on peak and off peak times for mail delivery so that the data connection is not open 24/7.
I have mine set mon-fri 730 - 5pm, the data connection is automatically terminated after this time.
Hope this helps you.
But still, besides the connection, ActiveSync must be on all the time for DirectPush to work? And with DirectPush on, the connection will be opened all the time if I don't define peak times?
I ask that because it's ActiveSync that keeps the connection alive. If I manually close it, the connection is closed as well. But minutes later, ActiveSync will start again... and open the connection.
I guess that push email drains more battery than a common mail account set to pull email once per hour.
Phantom1275 said:
But still, besides the connection, ActiveSync must be on all the time for DirectPush to work? And with DirectPush on, the connection will be opened all the time if I don't define peak times?
Click to expand...
Click to collapse
Correct Yes. You can always set it to manual sync if you dont want it to automatically sync email. It is supposed to be like that so any changes you make on your device are automatically synced to the server, keeping it upto date.
I ask that because it's ActiveSync that keeps the connection alive. If I manually close it, the connection is closed as well. But minutes later, ActiveSync will start again... and open the connection.
Click to expand...
Click to collapse
Again, this is how it is supposed to work.
I guess that push email drains more battery than a common mail account set to pull email once per hour.
Click to expand...
Click to collapse
You have to decide how you want it to work. i use mine during office hours and my usage is heavy. My battery lasts 24hrs before needing to charge. Obviously battery lasts longer if not using push email.
Click to expand...
Click to collapse
Im running into the problem of even though I have the e-mail set to check every 15 minutes, the data connection is always on. Any ideas?
(otherwise I love my energyrom)
ADHurt said:
Im running into the problem of even though I have the e-mail set to check every 15 minutes, the data connection is always on. Any ideas?
(otherwise I love my energyrom)
Click to expand...
Click to collapse
Are you using an exchange email? If so data connection will remain open even it is set for checking every 15 mins.
If you use gmail or pop mail, then that is different kettle of fish.
Cheers.

Using Microsoft Direct Push Email will cause data connection to auto-connect?

Anyone experienced that problem? Whenever there is no email coming in but the data connections keep trying to get connected even though i have terminate it using the long end key button. Any solution? Thank you in advance.
hi,
this is the way it works. in order to receive an email when arrives yu must be connected to internet.
if you dont want to be connected all the time, you can set up sync e ery a certain time and disconnect the push, or manual sync.
ypsmav said:
hi,
this is the way it works. in order to receive an email when arrives yu must be connected to internet.
if you dont want to be connected all the time, you can set up sync e ery a certain time and disconnect the push, or manual sync.
Click to expand...
Click to collapse
Thanks. I will know what to do then.
change the schedule
in activesync on your pda you can also go to menu>schedule and change the settings as you want them
if you change the peak times from 10 am till 11am your phone will only be connected during this time and if you dc after that time it won't connect
but you won't be able to get the mail if you disconnect
hope this is a good answer

Request: Scheduler for connection manager

I think this is a long shot but here goes:
I have an unlimited data plan so during peak times I've got Exchange email arriving 'as it arrives' and Gmail sending/receiving every 5 mins.
To help preserve the battery during off-peak times Exchange syncs only every 4 hours.
In addition to this I've also got Bluetooth and Wifi on pretty much 24/7.
Obviously this doesn't help the battery life, so I'd like to be able to configure when (i.e. what time of day) my connections are 'on' and when they are 'off'.
I'm aware of tweaks, mods and apps to cut the data connection after, say, 5mins. But that's not what I want. I want something which will schedule the data connection to turn off at a certain time, and reconnect at a certain time.
In addition it would be good to have the same thing for Bluetooth, Wifi ir any other item in Connection Manager for that matter.
Any bright young thing out there that can help?
Update: See http://msdn.microsoft.com/en-us/library/bb416391.aspx for Connection Manager API description and architecture

Categories

Resources