yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] camro:
connecting ...disconnnecting

you can use the tool: "gb-soft tweak". with this toolyou can easy handle your normal disconnect handling ...this works.

you'll find it in this forum - i'm sure.

cu camel
[Windows Mobile Apps and Games] dinan:
Trying this out on my X1. My X1 wasn't checking my gmail when it was in sleep mode (I have it set for checking every 5 mins). When I turn the phone on it goes to check, but it doesn't check ever while sleeping... annoying. Anyway, I tried this app to see if it would help, but it still won't check while sleeping. I suspect my problem is something with my X1 and not this app, but I decided to post my feedback anyway =)
[Windows Mobile Apps and Games] camro:
well, i haven't heard of this problem before.

because email scheduler make a now entry in schedule database.

at first - you should be sure (without scheduler, wothout imap idle):

1.) configure your email account in pocket outlook, that it should check every 5min your email. then:

a) try it without suspend.

if this work - next step..

a) try in sleep mode.

if you install a programm like g-alarm -> does this tool then awake from suspend mode ?

if you have appointments set - does your X1 awake form suspend ?

also you can try ex: ms voice commander -> this also awake and speak my mails (if they are arrived..)

maybe it is really only a X1 problem. - strange ... ;(
[Windows Mobile Apps and Games] Crusader:
Hi guys,

I am using this program on my X1 with newest official FW and I have no problem with at all. Everything works correctly (including device is in suspended mode).
[Windows Mobile Apps and Games] cupcake:
This won't run on my Blackstone (generic version) and just gives errors. Funnily enough Emansio gives the same problem. I've even reformatted my phone and same problem. Am I the only one? IMAP Pusher works fine!
[Windows Mobile Apps and Games] camro:
it seems to be, that you are using a wrong or missing netcf version

try to install netcf 2,0 3,0 3,5

i'm using laurentius rom 2.2 image, which is for me the absolute best one...

and with this version - i'm not having any problem.

(i'm be sure you would LOVE the ROM from laurentius...

cu camel
[Windows Mobile Apps and Games] cupcake:
Thanks, but I've insatlled net cf 3.5 and still have same problem.... :mad:
[Windows Mobile Apps and Games] camro:
post the error message.

i'm almost sure, that this problem is a netcf or a signed driver problem.
[Windows Mobile Apps and Games] cupcake:
I've now tried version 0.70 (the last one without GMail support) and that dpesn't crash! However, it seems to get my email just one time even though I've selected IMAP Idle. After that, nothing arrives unless I do a manual send/receive. IMAP pusher seems to work fine!
[Windows Mobile Apps and Games] camro:
i have sometimes an error on starting email scheduler(ex: after softreset):

the error message is:

EmailSchedulerService.exe

SystemException

Error Code #: 2147549202

bei Microsoft.WindowsMobile.Configuration.ConfigurationManager.MainConfigurator(XmlDocument configDoc, UInt32 flags)

bei Microsoft.WindowsMobile.Configuration.ConfigurationManager.ProcessConfiguration(XmlDocument configDoc, Boolean metadata)

bei EmailSchedulerService.MainEventWatcher.RunStartprovision()

bei EmailSchedulerService.MainEventWatcher.StartupRun()

bei EmailSchedulerService.MainEventWatcher.MainLoop()

bei EmailSchedulerService.Program.Main(String[] args)

does somebody also get this error message ?
[Windows Mobile Apps and Games] tvaril:
I was looking for some kind of app for a long time. It is working on my TouchPro with WM6.5 but it is extremely slowing down the device :-( i do not know why. And i do not know why Microsoft does not implent this kind of function in Pocket Outlook (maybe because of exchange protocol?), even my Symbian Nokia E51 can handle it very easy...i am sad about it...
[Windows Mobile Apps and Games] mjg7876:
Hey everyone, read my blog (click my sig), I have been working the last few days on a total rewrite. I am almost ready to send it out for you all to destroy, but there are a few things I need to fix-up first. This version is much more flexible, I will be able to do a lot more with this setup. The main problems stemmed from the SSL library I was using. I decided to scrap it, and using a sample of another, wrote my own. Now that I have the code to every piece, I will be able to make this much less error prone. Keep an eye on the blog, or subscribe to it, more info coming later this week.

Gudy
[Windows Mobile Apps and Games] camro:
i had read this on your site, and i want to help on testing in a NP stadium.

so - let me know if i can help ...

cu camel
[Windows Mobile Apps and Games] mjg7876:
New Release, check it out!
[Windows Mobile Apps and Games] kiemlo:
Some suggestions:

The labels "Start Time" and "End Time" are a bit confusing. I think they could be changed to "Peak" and "Off-peak", similarly to Pocket Outlook settings for Exchnage. Also I'm not sure how it works with IMAP IDLE: should it work all the time or only when the email checking setting is other that "Manually"?

There's no obvious way to look at the logs. Sometimes they show up when I open EmailScheduler. However I don't know how to open it when needed.

You cannot change the port number. I tried 143 (the standard non-SSL IMAP port), but when the settings are open again, they fall back to 993.

I couldn't try out IMAP IDLE - it seems that it couldn't connect, but I'm not sure why (bad credentials? no GPRS connection? - there's no message about the cause). That leads to another suggestion: do not try to reconnect immediately. If the settings are bad it will try to reconnect on and on again - wasting bandwidth.
[Windows Mobile Apps and Games] mjg7876:
I will look into the port number issue, I only tested it out on 993, but I think it is still working on a different port, it just doesn't reset the default when you go back into the program. I will fix that, as it should read it back in. As far as the never ending cycle, I think I forgot to uncomment out a section for that.
[Windows Mobile Apps and Games] UncleBeer:
Fantastic! Thanks Gudy.

Uh, not to appear greedy, but is there any chance of a SPB MobileShell 3 Plugin? ;)
[Windows Mobile Apps and Games] jeugreg:
v 1.01beta Block phone : cpu usage 100% imap idle service

I have a htc touch HD with touchFlo 3D. win mobile 6.1, NETCF3.5 (3.5.7283.00)

i have installed it : that works.

But after a soft reset, i can only see a red icon in today screen and touch flo 3D can't be visible (all black).

in fact, CPU usage = 100% by imap idle service

i cant active my phone without kill the process...

the old version doesn't do that problem...

why ?
[Windows Mobile Apps and Games] camro:
bugs for me:

1.) IMAP IDLE -> Port number will be always set back to 993

2.) IMAP IDLE -> debug option will be always set back to "OFF"

if i want to set it to "debug" it should be stay there

3.) time range ("Start Time" to "End Time") should be set to a range over the day also.

ex: 6am til 2am

for now this is not possible or it doesn't work.

now only ca be set to: 6am - 23:59pm

4.) "imapidleservice.exe" won't hold the connection online

5.) "imapidleservice.exe" can't be viewed if TF3D is running (hide of tray icons). This should be possible to view somehow

-------------------------------------------------------------------------

Manual for Email Scheduler 1.01:

============================

if you start email scheduler, you will find the settings menu

a) "Start Time" - "End Time"

in the range between this time zones is the "active time zone" or better knowing as "online time"

outside this range the time zones is the "passive time zone" or better knowing as "offline time"

the big different between this 2 time ranges is, that only in "online time" the imap idle is working (if it is set as active)

b) "Week" and "Weekend" -> extra time ranges, so there are 2 different time ranges per day(s).

the "Week" days can be set under -menu Options -> "Week Days".

All days which are not checked are "Weekend" days

c) "Email checking system"

there are the the same settings as it is in poutlook.

This is Manually, Every 5, 10, 15, 30, 60 minutes, and 2, 4 hours and One a day.

d) Email checking system: "Manually" - (if imap idle is not checked)

this wil be used, if no email checking on special time period should be done.

e) Email checking system: "Manually" - (if imap idle is checked)

this wil be used, if no email checking on special time period should be done, BUT the imap idle service will be used and the connection to server will be always hold online and if there is a new email it will send/forward the email request to poutlook and new mail will arrive.

!This will only work in "online time range" (between "Start Time" - "End Time")

c.) "imap idle"

the "imap idle settings are under: Options -> "IMAP"

there you can:

-> activate = "Enable IMAP IDLE"

-> Select Account = Email account name(only one account can be selected by now)

-> Server Address = Email outgoing server name

-> User Name: = Email user account name

-> Password: = Password for user account

-> Port #: 143 is default for imap server (also for TLS), and 993 is default for SSL

TLS support will be automatically requested from server and nothing extra had to be set.

-> Debug File: can be set for getting a debug log, this will be generated in the same folder as install dir of email scheduler and is named as: debug.txt
[Windows Mobile Apps and Games] camro:
do you support TLS also ?

please can you also set the debug option, that it stay set as i set it in menu ?

cu camel
[Windows Mobile Apps and Games] mjg7876:
good question, turn on debug.txt and send me the file after it does that.

Thanks

Gudy
[Windows Mobile Apps and Games] mjg7876:
1)Port number is working, it just is not reading it back into the settings, I will fix that. Forgot to add it as it wasn't in the original settings program, which is not a rewrite.

2-5) I answered on my forum for you

Thanks

Gudy
[Windows Mobile Apps and Games] mjg7876:
I just answered that, debug works, it just doesn't read the setting back into the settings screen. set it, save it, it will work.

it supports SSL versions greater than 2.2 using winsock2. TLS is SSL version 3.1, so yes, it supports it. Basically, if outlook can access it, this program should be able to as well since it is using the same base class.

Gudy
[Windows Mobile Apps and Games] camro:
wow - great to hear this - so your tool can more as poutlook ;-)

because poutlook doesn't support TLS for now ;-)
[Windows Mobile Apps and Games] camro:
@mudy

please can you change the date from the thread subject (if the next beta come out)?

old:

[5-05-09]Outlook --New Imap Idle Service!!

(something like this, because then everybody knows that there is a new version made on date X ..)

new:

[20-05-2009] Email Scheduler 1.xxx beta - New Imap Idle Service
[Windows Mobile Apps and Games] mjg7876:
afaik, outlook supports tls as gmail uses tls... can you connect to gmail in outlook?

Gudy
[Windows Mobile Apps and Games] mjg7876:
Thanks! forgot to change that!
[Windows Mobile Apps and Games] camro:
i have no gmail account.

i will organize a gmail account and will look into later.

for now - the most important thing is - why the connection is lost.

if implentation of imapidleservice show button in email scheduler, i can look into the logs better - to find out in real time, what's going on..
[Windows Mobile Apps and Games] mjg7876:
Not likely, I wouldn't even know where to begin, and I don't personally use it.

Sorry

Gudy
[Windows Mobile Apps and Games] UncleBeer:
today screen icon

Hey Gudy!

I was a little worried when the today screen icon disappeared when my late-night settings kicked in. Luckily, it came back when the daytime settings came into effect.

You're aware this happens, right?

(Also: I tried to ask this via your forum, but never received a registration confirmation email.)
[Windows Mobile Apps and Games] snufkin:
Hi Gudy,

I am using Diamond and TF3D. So, I can't see your system tray icon for the IMAP IDLE. What I need is to know the current status of the connection, whether it is connecting or not. Can we have the connection icon at the top bar instead of system tray?

One more request: can you include an option to switch on/off IMAP IDLE when roaming to other networks? The roaming data charge will be scary if IMAP IDLE is running as background during roaming case.

Thanks.
[Windows Mobile Apps and Games] camro:
well - only for understanding

imapidleservice will not handle the connection to internet.

so, the connection should be handled via different programm.

maybe for future it is a good idea to handle the connection,

because you can also have a connection to internet via

GPRS(3G) or wlan or active sync or bluetooth ....

if emails will be checked via polling -> then poutlook handle this and have an option for "don't check emails on roaming"

but - an option for imap ilde service roaming ex: is a very good idea.

so, i also vote for an option, that "imapidleservice.exe" will check the connection to internet in periodic times and hold the connection still alive.

PLS: for viewing imapidleservice.exe - for now you can do this in this way:

You can reload the window using dotFred Task Manager (google it). Click and hold on the process-> hit details-> go to the windows tab-> click and hold on the window named "Idle Service"->if activate is availible, click it, otherwise hit "show"->if activate wasn't there, it should be now, click and hold again, actions, activate and it will open. Once you have it open, don't close it!

for future versions it is planned to do something, so that users can minimize and normalize the service of imapidle
[Windows Mobile Apps and Games] mjg7876:
Hey UncleBeer!

Ya, the icon should disappear as it actually closes at the end time, then reruns at the start time, hence, the icon reappearing. I don't like to leave things running if they aren't doing anything.

Sorry about the forum issues, my web host sucks! The bad thing is, if I move, I am out $50> bucks, but it is so darn slow, I might just do it anyways. For now, just post questions here until I get it resolved.

Way off topic, but can anyone suggest a good host for cheap? I would love a windows based so I can run ASP.NET apps, but also need PHP5 support and some sort of SQL database access, but a fast reliable linux solution would work.

Thanks!

Gudy
[Windows Mobile Apps and Games] mjg7876:
The icon issue I am aware of. Right now, what it does is hide the window, meaning it wouldn't show up in "running programs" in the settings. I can however set it to "Minimize", which would be like opening a program, then going to start->today screen. It would leave the program accessable in the "running programs". I could do both, and allow it to be user selectable too, but its more work :(

Let me ask all of you, What would be the best way to handle this? Do you even care to have a "status icon", and how would you like to access the status window? Post your thoughts and I wll comment on I can do.

Thanks

Gudy
[Windows Mobile Apps and Games] camro:
as i told you:

i would vote for:

"imapidleservice.exe -hide" - start/hide imapidleservice -> hide window

"imapidleservice.exe -show" - start/show imapidleservice -> show window

if the imapidleservice.exe will called, the programm check if running and not starting double times ...

if imap idle is not set in emailschedulersettings, and somebody wants to call it, then close imapidleservice.exe

that's it - and as you told me - this would be also relative easy for you.

cu camel

EDIT: the icon in the tray icon bar can be as it is - and nothing had to be changed in this kind

then only a link under start menu is needed.
[Windows Mobile Apps and Games] UncleBeer:
The icon thing is *perfect* the way it is (now that I see that it disappears during 'off hours'0. Great to see that IDLE's working, and I can click on the icon for more info or options. No changes needed.

@Snufkin: to avoid roaming charges, google "NoData", a handy freeware app that shuts down your data traffic.

Thanks again, Gudy! :)
[Windows Mobile Apps and Games] UncleBeer:
The icon thing is *perfect* the way it is (now that I see that it disappears during 'off hours'). Great to be able to see that IDLE's working, and I can click on the icon for more info or options. No changes needed.

@Snufkin: to avoid roaming charges, google "NoData", a handy freeware app that shuts down your data traffic.

Thanks again, Gudy! :)
[Windows Mobile Apps and Games] Winker-Omnia:
I use the iphone today plug in and the icon in the bottom right, interferes with this....
[Windows Mobile Apps and Games] adoute:
As a TF3D user, the status icon isn't of much use to me (easily). I would much prefer a minimized status window, which I could access either by a start menu icon of simply by using a task manager.

Thanks for all the effort you've put into this app. This is the first version that seems to be reliably working for me. I had an issue this morning, where idle said it was working, but it wasn't getting any mail - I soft reset, turned on logging, and things seem to be fine now. Having quick access to the status window might have saved the soft reset.
[Windows Mobile Apps and Games] snufkin:
Thanks, UncleBeer.

Hi Gudy, As a TF3D user, can I suggest to have a status icon on the top bar? I'm not that familiar with WinMo and not sure if it is difficult or feasible to do so.
[Windows Mobile Apps and Games] camro:
the question would be - do you really want a status icon in the top bar ?

because there is not much space, and it will be aölso not so easy to make this for the status bar.

the classes for the status bar ... i see on my phone, that there is almost always not enough space to show all icons:

i have there normally activesync, signal strenght, batterie, sound volume ...

thinkabout ... if it makes sense ... or ?

so, i only vote to show the imapidleservice if i call(click) on a program link.

think about - if you really would like this kind ....
[Windows Mobile Apps and Games] nhuda:
Status Icon on Top Bar

I would love a status icon at the top bar. It is true that there are many icons on the top but it would be nice to see whether the imap idle is connected or disconnected at a glimpse just like the signal strength or battery.

Regards,
[Windows Mobile Apps and Games] nickokio:
i like it so far...dont know what will happen if the data connection breaks (problem with older version) but we'll see :)
[Windows Mobile Apps and Games] stan23:
As a TF3D user, I would prefer a hidden (minimized) window and a notification when the connection is lost.

Maybe a schedule entry for restarting the service would help, e.g. stop it at 10 pm and restart IMAP IDLE at 7 am, just like the Outlook polling intervals.

Is a status icon necessarily quadratic?
[Windows Mobile Apps and Games] camro:
email scheduler is now working in this kind.

if you set to use imap idle, then set it to "manually" in settings. and in the time frame (Start time til End Time) imapidleservice.exe is active and in "offline" time there imapidle won't used.

(for now monly a smal bug is - you can only choose endtime had to be on the same day (not over 23:59h), but this would be fixed in next version, or maybe there will be more time frames per weekdey.

then in theorie you can choose a lunch/dinner time, where imapidle is not active ;-)

well see what the next version brings up....

i also don't think so, because in win6.1 there are so many services in background, and non of that are visible. only if a problem is, then a notification will be visible...anyhow - many users - many diff. suggs.

Additional - to use the top status bar - these classes to handle could be not so easy. i have tried this by myself, and it was very tricky.

i hope that gudy will do before, that imap idle will hold the connection to internet online and reconnect if not connected...

next version will be bring us more fun :)

cu camel
[Windows Mobile Apps and Games] shaggylive:
i'm late, new version? sweet!!! thanks for the re-write.!

i'm with camro on the icon, definitely NOT on the topbar.

as long as it notifies on error/connection lost then I'm happy.
[Windows Mobile Apps and Games] grayme:
How about a red or a green set of pixels just above the ok button above the taskbar to show if imap idle is working?

it need only be a few pixels high, 20 wide?
[Windows Mobile Apps and Games] elosogrande7076:
So is this similar to a push email program? Im not sure i understand what this is for....can anyone please explain? Thank you
[Windows Mobile Apps and Games] camro:
yes, can more as imap pusher.

in summary, what it did:

+ use internal pocket outlook - no extra email client needed

+ it can handle email polling on different time ranges.

+ it can handle email polling on multiple Email Accounts.

+ it can handle to stop email polling and email idle on "offline times

+ it can handle email imap idle on different time ranges.

+ imap idle support for different systems (gmail, cyrus, ...)

+ email support for imap, imap ssl, imap tls

and (hopefully) soon: (it is planned)

+ check the necc. connection for imap idle and reconnect the connection if lost

+ showing the status for imap idle (online/offline/error)

+ can handle multiple time ranges per day

+ can handle multiple email accounts for imap idle

i'm sure, that a LOT OF USERS wants/need this in future !!!!

(hopefully a lot o guys are doing donation ......)
[Windows Mobile Apps and Games] mjg7876:
still working on the connection piece, I can't get the socket to let me know when a connection is lost. Pissing me off. I added code to timeout after X minutes. This number will increase until it gets a bad connection, and will decrease once a bad connection hits. I am still testing this, not fully sure it is bug proof yet.

Status--I added a setting to allow either minimize (just loose focus) or hide (like a service and what it does now). You can't change the icon on the top taskbar (At least that is what I have concluded). I guess I could have it pop up a notification, but that would get old real fast. I just don't know what else I can really do with this?

time ranges--I said I would look at this, but will not be implimented in the next release

Multiple accounts--Right now, I want to get 1 account working good before even thinking of adding more to the mix. It is possible however, and I did design it with multiple in mind.

Other things coming in the next release:

Fixed the issue where Port was not working, nor saving the settings. Also set it to read back in the settings for Port, Debug, and the new FormHide option.

Fixed the never ending connect loop, it will try 3 times and if it can't connect, it will pause 1 minute, try again, and make the Service Form visible (to let you know there is a problem).

Multiple System checks--No one probably even noticed this one, but I had 15 threads running a systems check, not good and a battery killer!

Other minor things--mainly just code clean up.

Look for it hopefully tomorrow or Friday.

GUdy
[Windows Mobile Apps and Games] camro:
i also have seen this - was thinking that this issue is also the bad check of connection. see also that the batt. was overnight from 100% to 15% and multiple iimapidleservice.exe are running....

EDIT: multiple instances only happen on my side, if i start imapidleservice.exe manually direct by hand.

so - it seems to be, that checking another instance of imapildeservice.exe will be checked from emailschedulerservice.exe

PLS: can it be, that the password on imap idle (loading emailschedulersettings.exe) would also not load not corronce again but wrong ?

because i had the problem, that after loading settings and saving and reboot - no login was possible, and then i set the password again, then it works.
[Windows Mobile Apps and Games] mjg7876:
I just checked the password thing, no problems here.
[Windows Mobile Apps and Games] camro:
ok, then it was maybe another appl. which destroy the the reg entry for the passowrd.

set it new, and then the login works again.

for now i have deactivated imap idle and wait for the next version to test.

some news, when the next version will be ready for testing ?