PDA

View Full Version : [6-26-09]Outlook Email Scheduler 1.0.2beta--New Imap Idle Service!!


Pages : 1 [2]

camro
15th May 2009, 02:19 PM
well - this software is really useable. congrat to this good util !

one wish:
i tried now IMAP IDLE (excl. that almost everybody knows, that a "5min check mail" consume less battery as IMAP IDLE, also IMAP IDLE w+ making calls in the same time reset the DATA connection on calling, anyway...)

i only want to help to make it bugfree ....

and i see, that it gives me an error:
server doesn' support IDLE

(SERVER supports IMAP IDLE)
telnet: gives:
"telnet mail.server.com 143"
* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR] mail.SERVER.com Cyrus IMAP v2.3.14 server ready
(server is my own mail server -> postfix, cyrus)

debug file of email sceduler:
15.05.09, 15:03:32: Power State: on
15.05.09, 15:03:33: Connecting...
15.05.09, 15:03:33: Connecting
15.05.09, 15:03:33: Connection Called
15.05.09, 15:03:33: Connected, ERROR = 0
15.05.09, 15:03:33: Server: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR] mail.SERVER.com Cyrus IMAP v2.3.14 server ready
15.05.09, 15:03:33: Checking Capability..
15.05.09, 15:03:33: Client: A0001 CAPABILITY
15.05.09, 15:03:33: Server doesn't support IDLE, disconnecting
15.05.09, 15:03:33: Closing Connections and Exiting
15.05.09, 15:03:33: Connection Closing
15.05.09, 15:03:33: Connection Lost (Socket Closed)

any idea where the problem can be ?
in list is "ID" (IDLE support) - or ?

cu camel


EDIT: seems to be, that the email server is not IMAP IDLE

it had to be (not ID) in threre "IDLE" - will see if this is the problem.

cu camel

mjg7876
15th May 2009, 02:58 PM
well - this software is really useable. congrat to this good util !

one wish:
i tried now IMAP IDLE (excl. that almost everybody knows, that a "5min check mail" consume less battery as IMAP IDLE, also IMAP IDLE w+ making calls in the same time reset the DATA connection on calling, anyway...)

i only want to help to make it bugfree ....

and i see, that it gives me an error:
server doesn' support IDLE

(SERVER supports IMAP IDLE)
telnet: gives:
"telnet mail.server.com 143"
* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR] mail.SERVER.com Cyrus IMAP v2.3.14 server ready
(server is my own mail server -> postfix, cyrus)

debug file of email sceduler:
15.05.09, 15:03:32: Power State: on
15.05.09, 15:03:33: Connecting...
15.05.09, 15:03:33: Connecting
15.05.09, 15:03:33: Connection Called
15.05.09, 15:03:33: Connected, ERROR = 0
15.05.09, 15:03:33: Server: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR] mail.SERVER.com Cyrus IMAP v2.3.14 server ready
15.05.09, 15:03:33: Checking Capability..
15.05.09, 15:03:33: Client: A0001 CAPABILITY
15.05.09, 15:03:33: Server doesn't support IDLE, disconnecting
15.05.09, 15:03:33: Closing Connections and Exiting
15.05.09, 15:03:33: Connection Closing
15.05.09, 15:03:33: Connection Lost (Socket Closed)

any idea where the problem can be ?
in list is "ID" (IDLE support) - or ?

cu camel


EDIT: seems to be, that the email server is not IMAP IDLE

it had to be (not ID) in threre "IDLE" - will see if this is the problem.

cu camel
You are correct, the server is reporting that IDLE is not supported. That is why IDLE is disconnecting. Also, IDLE is more efficient than polling every 5 minutes since the data transferred is far less. IDLE can go, well idle for up to 30 minutes without any data transfer at all. Of course, this is all dependent on your network, and how many emails you get. On my system, the battery life is outstanding with IDLE, when I polled just every 15 minutes, my battery would be around 30% by day's end. With IDLE, the worst I have had is 50%!

Thanks!

afehn
18th May 2009, 10:12 AM
Also, IDLE is more efficient than polling every 5 minutes since the data transferred is far less. IDLE can go, well idle for up to 30 minutes without any data transfer at all. Of course, this is all dependent on your network, and how many emails you get. On my system, the battery life is outstanding with IDLE, when I polled just every 15 minutes, my battery would be around 30% by day's end. With IDLE, the worst I have had is 50%!

Thanks!

Agreed, IDLE is not worse than polling every 5 mins. I used to use 15 min polling intervals and by the time I got home my phone was dead. With IDLE I have around 50% left at the end of the day! I noticed a huge difference in battery life when I moved from 3 mobile to O2 due to firewall policies.

focusedonsound
19th May 2009, 04:25 AM
Just wanted to note that I am still having issues with Email Scheduler and the current 6.5 Rom that I am running.

The app seems to work fine upon initial setup. Start Imap idle and it does its thing. Emails start pouring in as they arrive (as the service should) When you go to "Save" the settings the app crashes.

Im not sure whats going on much more than that.. I can attach the exception report if you like.


Thanks
Focusedonsound

mjg7876
19th May 2009, 05:11 PM
Don't start the IMAP IDLE with the button, setup all the settings, without starting imap, save, then save in the main screen. The Start IMAP IDLE button is really just for testing to make sure the connection works. IT is not intended to run full time, which could be why you are getting the errors. IF imap idle is scheduled to run when you close out the settings, it will start on it's own. I need to clarify this in the program, thanks for the input!

focusedonsound
19th May 2009, 05:44 PM
Don't start the IMAP IDLE with the button, setup all the settings, without starting imap, save, then save in the main screen. The Start IMAP IDLE button is really just for testing to make sure the connection works. IT is not intended to run full time, which could be why you are getting the errors. IF imap idle is scheduled to run when you close out the settings, it will start on it's own. I need to clarify this in the program, thanks for the input!

Nope still no workie!

Here is the Error!

EmailSchedulerService.exe
IndexOutOfRangeException

at System.String.get_Chars(Int32 index)
at System.Globalization.DateTimeFormatInfo.InsertHash (TokenHashValue[] hashTable, String str, TokenType tokenType, Int32 tokenValue)
at System.Globalization.DateTimeFormatInfo.CreateToke nHashTable()
at System.Globalization.DateTimeFormatInfo.Tokenize(T okenType TokenMask, TokenType& tokenType, Int32& tokenValue, __DTString& str)
at System.__DTString.GetSeparatorToken(DateTimeFormat Info dtfi, Int32& indexBeforeSeparator, Char& charBeforeSeparator)
at System.DateTimeParse.Lex(DS dps, __DTString& str, DateTimeToken& dtok, DateTimeRawInfo& raw, DateTimeResult& result, DateTimeFormatInfo& dtfi)
at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTimeResult& result)
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at EmailSchedulerService.MainEventWatcher.StartupRun( )
at EmailSchedulerService.MainEventWatcher.MainLoop()
at EmailSchedulerService.Program.Main(String[] args)

PiperD
19th May 2009, 05:44 PM
This sounds like a great app. Just looking for some clarification though.

First, based on comments made in the thread, is it correct that the IMAP IDLE process does *not* download any mail, but rather notifies Outlook of a new mail and then Outlook does a Send/Receive against the account?

Second, it's clear that scheduled checking will wake the device from standby since you're using the notification queue. But the IMAP IDLE process may actually stop running when the device is in standby (actually, when it's suspended) so at those times you will *not* get immediate notification of new mail.

So for IMAP IDLE, are you resetting the device's idle timer (so that it never suspends and you always get your mail) or is it just the case that IMAP IDLE doesn't work when the device is suspended?

Thanks!

camro
22nd May 2009, 05:57 PM
You are correct, the server is reporting that IDLE is not supported. That is why IDLE is disconnecting. Also, IDLE is more efficient than polling every 5 minutes since the data transferred is far less. IDLE can go, well idle for up to 30 minutes without any data transfer at all. Of course, this is all dependent on your network, and how many emails you get. On my system, the battery life is outstanding with IDLE, when I polled just every 15 minutes, my battery would be around 30% by day's end. With IDLE, the worst I have had is 50%!

Thanks!

no, the CAPABILITY will be done by:
telnet mailserver 143 <ENTER>
then input: C01 CAPABILITY

my server said:
(my command:) telnet mail.XXXXXX.com 143
* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR] mail.XXXXXX.com Cyrus IMAP v2.3.14 server ready
OK
(my command:) C01 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH
C01 OK Completed
so - it is supported !!!!
do you request the imap idle CAPABILITY via command: "C01 CAPABILITY" ?

cu camel

Lilhit82
24th May 2009, 09:17 AM
is there an application like this but for sms??

camro
26th May 2009, 08:56 PM
5/5/09
Updated the installer, and fixed some very minor bugs

5/4/09
New Version, read more about it HERE (http://www.gudensoft.com)
-added polling to IMAP
-updated SSL code to hopfully fix the random lockups
-took a shot at fixing the CPU usage problem being reported, doubtful it worked though


well maybe we can work together on one programm which can handle the imap idle support ...
you can see also on: http://forum.xda-developers.com/showthread.php?t=519049
the imap pusher supports very well the imap idle on ssl 993. it's written in vb, and the ssl-api is in cpp.

but i like your version more as others - so i think it is a good idea to give the power to one appl. and not creating the wheel once again.

some news for imap idle support ?

cu camel

mjg7876
26th May 2009, 10:35 PM
This sounds like a great app. Just looking for some clarification though.

First, based on comments made in the thread, is it correct that the IMAP IDLE process does *not* download any mail, but rather notifies Outlook of a new mail and then Outlook does a Send/Receive against the account?

Second, it's clear that scheduled checking will wake the device from standby since you're using the notification queue. But the IMAP IDLE process may actually stop running when the device is in standby (actually, when it's suspended) so at those times you will *not* get immediate notification of new mail.

So for IMAP IDLE, are you resetting the device's idle timer (so that it never suspends and you always get your mail) or is it just the case that IMAP IDLE doesn't work when the device is suspended?

Thanks!
1)that is 100% correct, all I do is trigger outlook to send/receive.
2)This is part of the problem some users are having. It seems some devices sleep differently. On my phone (titan on verizon running 6.1), this program will work while suspended. It is just a service that runs in the background to check imap status. But for some other devices, it is getting shut down. I am looking more into it, but like I said on my blog, the next few weeks I can't work on it. Once I get through the next couple of weeks, I will have ample time to focus on imap idle. I also plan to look at 6.5 and see what is up with it as well.

mjg7876
26th May 2009, 10:46 PM
no, the CAPABILITY will be done by:
telnet mailserver 143 <ENTER>
then input: C01 CAPABILITY

my server said:
(my command:) telnet mail.XXXXXX.com 143
* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR] mail.XXXXXX.com Cyrus IMAP v2.3.14 server ready
OK
(my command:) C01 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN SASL-IR ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH
C01 OK Completed
so - it is supported !!!!
do you request the imap idle CAPABILITY via command: "C01 CAPABILITY" ?

cu camel
I do use CAPATIBILITY, the C01 you use is just a unique number to mark the request. I think I use AXXX, where XXX is a sequencal number starting at 001. I don't know why it would flag is as not compatible, once I get back to developing this, I will get with you and work through it. Right now, I don't see anything in your request that would hender it, other than it is the longest response I have seen (that's a lot of options!). It is possible in my program, it is splitting the response up, and I don't think I handle that with the CAP request, never needed to until now.

Also, FYI, Even though IMAP IDLE is a standard, some calls are not fully standardized. CAPATIBILITY is one that is open for a response. gmail responds with some really crazy stuff, like "and that's all she wrote!". I love Caddyshack, but when responses are like this, it is hard to code for all the different servers out there.

mjg7876
26th May 2009, 11:09 PM
well maybe we can work together on one programm which can handle the imap idle support ...
you can see also on: http://forum.xda-developers.com/showthread.php?t=519049
the imap pusher supports very well the imap idle on ssl 993. it's written in vb, and the ssl-api is in cpp.

but i like your version more as others - so i think it is a good idea to give the power to one appl. and not creating the wheel once again.

some news for imap idle support ?

cu camel
When I first looked at writing this program (IDLE at least), I looked through this one. The SSL lib he uses blocks, and when it fails, it can't be recovered, and there is no error handling. If I remember right, there were other things that I didn't like, but can't remember off the top of my head.

I first wrote this just to set the poll settings. I then added imap, and am still trying to perfect it. It works 100% on my phone, on my network, and for my email. The problem is the 100's of different devices that run WinMo, the 100's of different versions of WinMo, and 100's of different carriers, none of which I have access to, I rely on feedback from all of you. I hate Apple, but I do like the fact that iPhone is 1 phone (ok, more than that but still), 1 network (for now at least), and 1 OS. IMAP Pusher has the same problems, .NET isn't playing like it should across all devices. Still, without his idea, it would have taken me much longer to get where I am now.

Thanks

camro
26th May 2009, 11:27 PM
1)that is 100% correct, all I do is trigger outlook to send/receive.
2)This is part of the problem some users are having. It seems some devices sleep differently. On my phone (titan on verizon running 6.1), this program will work while suspended. It is just a service that runs in the background to check imap status. But for some other devices, it is getting shut down. I am looking more into it, but like I said on my blog, the next few weeks I can't work on it. Once I get through the next couple of weeks, I will have ample time to focus on imap idle. I also plan to look at 6.5 and see what is up with it as well.
i'm on 6.1 - and for me it seems to be, that only the checking of IMAP IDLE is the problem.
so, maybe you can try to compile a version, which is always thinking that the server is suporting it ? or maybe it is only the function which see _imap.content = "IDLE" - so for me it is not easy to see how you handle the IMAP IDLE support request.
well - maybe it helps to have an test account on a server which is supporting all of the different CAPS.

cu camel

PLS: i also thinking that on IMAP Pusher are a lot of things which i don't like how it is handled there ....
only see that this version is supporting IMAP IDLE very well

mjg7876
26th May 2009, 11:48 PM
i'm on 6.1 - and for me it seems to be, that only the checking of IMAP IDLE is the problem.
so, maybe you can try to compile a version, which is always thinking that the server is suporting it ? or maybe it is only the function which see _imap.content = "IDLE" - so for me it is not easy to see how you handle the IMAP IDLE support request.
well - maybe it helps to have an test account on a server which is supporting all of the different CAPS.

cu camel

PLS: i also thinking that on IMAP Pusher are a lot of things which i don't like how it is handled there ....
only see that this version is supporting IMAP IDLE very well
basically, that is how I handle it. The problem I think is the response string is so long that it splits it up over 2 packets. If I remember right, I only check the 1st packet on a CAP request, but do have it built in to support multiple packets, just didn't use it, I'll get it fixed.

camro
27th May 2009, 09:48 AM
some new ideas / wishes from my side:

maybe i spend time to help to go on with the project "Email Scheduler", because there are only few things to do, and it can quickly reach "release status"
what i'm missing there:
.) bugfixing on better IMAP IDLE support (now only "IMAP IDLE gmail" is supported -> will be easy to fix
.) more debug log detail, the whole communication between client and server willl be fine, to see better what is the response from mail-server, and whats going on -> will be easy to add
.) configuring an account how to handle the email request with imap idle.
Therefore the "IMAP IDLE support for multiple accounts" is neccesary
for account "ABC"
ex: on weekdays from 7:00 - 20:00 -> imap idle checking
ex: on weekdays "outside time" (20:00 - 7:00) -> checking email every 60 minutes
ex: on weekend from 10:00 - 18:00 -> checking email every 30 minutes
ex: on weekend "outside time" (18:00 - 10:00) -> "manually" (so then you can slep without autorequesting)

i will help to proceed this project.

cu camel

Sean D.
28th May 2009, 05:33 PM
Okay... maybe not so *major*, but it's annoying as f***.

I reverted back to version .66 because the IMAP Idle function just was not working for me at all.

But PLEASE... I'm begging you to PLEASE build in a data 'switch off' function of some sort to turn GPRS/Data connections off after it has checked for, or downloaded messages.

:mad:

If the e-mail scheduler checks for messages while the screen is blank (sleep mode, etc) more often than not the data connection will stay on until I turn the phone back on and notice it and manually turn it off. I don't know if this is a glitch, or if it has to do with the app trying to D/L large messages that take a while or what, but it is a bit annoying.
I even have Advanced Config and have the data connections set to switch off after 2 mins (have tried 3, and 4 minutes as well) and it still makes no difference. It will stay on if the screen is off, or turns off.

Another thing, and I'm not convinced this is due to email scheduler, but I have it set to only check every 60 minutes between 8 AM, and 8 PM. But out of nowhere my data connection will just turn on (assuming the phone radio is on) between 1 and 2 AM... and once again it will just stay on until I notice it.

Sorry if this all sounds ingrateful, I actually love this app, and can't wait for all (or most) of the bugs to be worked out. But the battery drain, and data charges are killing me.

:rolleyes:

mjg7876
28th May 2009, 06:36 PM
Okay... maybe not so *major*, but it's annoying as f***.

I reverted back to version .66 because the IMAP Idle function just was not working for me at all.

But PLEASE... I'm begging you to PLEASE build in a data 'switch off' function of some sort to turn GPRS/Data connections off after it has checked for, or downloaded messages.

:mad:

If the e-mail scheduler checks for messages while the screen is blank (sleep mode, etc) more often than not the data connection will stay on until I turn the phone back on and notice it and manually turn it off. I don't know if this is a glitch, or if it has to do with the app trying to D/L large messages that take a while or what, but it is a bit annoying.
I even have Advanced Config and have the data connections set to switch off after 2 mins (have tried 3, and 4 minutes as well) and it still makes no difference. It will stay on if the screen is off, or turns off.

Another thing, and I'm not convinced this is due to email scheduler, but I have it set to only check every 60 minutes between 8 AM, and 8 PM. But out of nowhere my data connection will just turn on (assuming the phone radio is on) between 1 and 2 AM... and once again it will just stay on until I notice it.

Sorry if this all sounds ingrateful, I actually love this app, and can't wait for all (or most) of the bugs to be worked out. But the battery drain, and data charges are killing me.

:rolleyes:

This program DOES NOT CHECK/DOWNLOAD EMAIL. All it does it set the settings in outlook. In fact, since you are not using IMAP IDLE, this program is not even running 99% of the time! It only runs 2 times a day to change the poll settings in outlook then closes. It also DOES NOT use data, unless you are using IMAP IDLE. Outlook does all the email stuff. Since all this does is control how often outlook checks mail, it actually saves battery! If you have it check every 5 minutes, ya, your battery is going to suffer, but I can't control that. Your data issues are NOT caused by this program.

As far as bugs go, ya, IMAP IDLE has issues, but the settings to change poll settings, as far as I know, is bugless. I am working on IMAP IDLE issues.

If you don't have an unlimited data plan, IMAP IDLE is not for you. It will have a constant data connection, no way around that. If fact, if it was me, I wouldn't even have email on a phone without an unlimited plan, POP and IMAP are very data hungry!

I don't have a problem with criticism, but please make sure it is relevant.

Thanks

PiperD
28th May 2009, 06:52 PM
You may want to clarify some things.

First, are you using the IMAP IDLE function in the program? If you are, then it makes sense that the data connection will stay open - that's how IDLE works, and it's unavoidable.

If you're only using the scheduler, then this shouldn't be a problem with the program as the program only tells tmail.exe to sync. So the only software that's actually making use of your data connection is Messaging. As a test: turn off your data connection, start Messaging, do a send/receive on an account, and note what happens with the data connection after Messaging is done.

Edit: Okay, not sure why I didn't see the author's reply - please ignore mine, essentially says the same thing!

Sean D.
28th May 2009, 07:27 PM
First off, I wasn't trying to come off as hostile, nor am I intending to point fingers or anything like that.

Second, thanks for the clarification.

No I do not run IMAP Idle, but it does have to do with messaging, but as I said if my phone is on/"awake" then the data connection will not stay on. It only happens if/when it checks for e-mails while the backlight is off.

If I hit send/recieve while the data connection is off, it will initiate, check for messages and turn off after 2 minutes (as I have it set in Advanced Config). If it checks on it's own while the phone's back light is off chances are it will stay on.

Once again, I wasn't intending to come off as hostile.

mjg7876
28th May 2009, 09:55 PM
First off, I wasn't trying to come off as hostile, nor am I intending to point fingers or anything like that.

Second, thanks for the clarification.

No I do not run IMAP Idle, but it does have to do with messaging, but as I said if my phone is on/"awake" then the data connection will not stay on. It only happens if/when it checks for e-mails while the backlight is off.

If I hit send/recieve while the data connection is off, it will initiate, check for messages and turn off after 2 minutes (as I have it set in Advanced Config). If it checks on it's own while the phone's back light is off chances are it will stay on.

Once again, I wasn't intending to come off as hostile.
No problem Sean, no offense taken. I just hope my information helped you out. You might post your issue under your phone's forum, someone more familar with "Advanced Config" and your device might be able to help.

Thanks

camro
29th May 2009, 01:24 AM
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

dinan
29th May 2009, 04:24 AM
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 =)

camro
29th May 2009, 09:05 AM
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 ... ;(

Crusader
29th May 2009, 12:06 PM
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).

cupcake
30th May 2009, 10:14 AM
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!

camro
30th May 2009, 10:32 AM
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!
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

cupcake
30th May 2009, 10:36 AM
Thanks, but I've insatlled net cf 3.5 and still have same problem.... :mad:

camro
30th May 2009, 11:34 AM
Thanks, but I've insatlled net cf 3.5 and still have same problem.... :mad:

post the error message.
i'm almost sure, that this problem is a netcf or a signed driver problem.

cupcake
30th May 2009, 12:26 PM
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!

camro
2nd June 2009, 11:04 AM
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.Configuratio nManager.MainConfigurator(XmlDocument configDoc, UInt32 flags)
bei Microsoft.WindowsMobile.Configuration.Configuratio nManager.ProcessConfiguration(XmlDocument configDoc, Boolean metadata)
bei EmailSchedulerService.MainEventWatcher.RunStartpro vision()
bei EmailSchedulerService.MainEventWatcher.StartupRun( )
bei EmailSchedulerService.MainEventWatcher.MainLoop()
bei EmailSchedulerService.Program.Main(String[] args)

does somebody also get this error message ?

tvaril
12th June 2009, 02:22 PM
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...

mjg7876
16th June 2009, 11:47 PM
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

camro
17th June 2009, 12:45 AM
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

mjg7876
19th June 2009, 09:18 PM
New Release, check it out!

kiemlo
19th June 2009, 11:49 PM
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.

mjg7876
20th June 2009, 02:28 AM
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.

UncleBeer
20th June 2009, 07:55 AM
Fantastic! Thanks Gudy.

Uh, not to appear greedy, but is there any chance of a SPB MobileShell 3 Plugin? ;)

jeugreg
20th June 2009, 10:36 AM
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 ?

camro
20th June 2009, 10:51 AM
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

camro
20th June 2009, 12:03 PM
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.

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

mjg7876
20th June 2009, 03:25 PM
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 ?
good question, turn on debug.txt and send me the file after it does that.

Thanks

Gudy

mjg7876
20th June 2009, 03:30 PM
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


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 (http://forum.gudensoft.com) for you

Thanks

Gudy

mjg7876
20th June 2009, 03:35 PM
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
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

camro
20th June 2009, 03:40 PM
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

wow - great to hear this - so your tool can more as poutlook ;-)
because poutlook doesn't support TLS for now ;-)

camro
20th June 2009, 03:43 PM
@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

mjg7876
20th June 2009, 04:10 PM
wow - great to hear this - so your tool can more as poutlook ;-)
because poutlook doesn't support TLS for now ;-)
afaik, outlook supports tls as gmail uses tls... can you connect to gmail in outlook?

Gudy

mjg7876
20th June 2009, 04:11 PM
@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
Thanks! forgot to change that!

camro
20th June 2009, 06:15 PM
afaik, outlook supports tls as gmail uses tls... can you connect to gmail in outlook?

Gudy

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..

mjg7876
20th June 2009, 07:12 PM
Fantastic! Thanks Gudy.

Uh, not to appear greedy, but is there any chance of a SPB MobileShell 3 Plugin? ;)
Not likely, I wouldn't even know where to begin, and I don't personally use it.

Sorry

Gudy

UncleBeer
22nd June 2009, 08:41 AM
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.)

snufkin
22nd June 2009, 10:29 AM
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.

camro
22nd June 2009, 12:03 PM
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

mjg7876
22nd June 2009, 04:31 PM
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.)
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

mjg7876
22nd June 2009, 04:38 PM
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.
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

camro
22nd June 2009, 05:45 PM
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
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.

UncleBeer
22nd June 2009, 07:41 PM
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

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! :)

UncleBeer
22nd June 2009, 07:42 PM
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

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! :)

Winker-Omnia
22nd June 2009, 08:11 PM
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! :)

I use the iphone today plug in and the icon in the bottom right, interferes with this....

adoute
22nd June 2009, 08:19 PM
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.

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.

snufkin
23rd June 2009, 07:52 AM
@Snufkin: to avoid roaming charges, google "NoData", a handy freeware app that shuts down your data traffic.

Thanks again, Gudy! :)

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.

camro
23rd June 2009, 08:13 AM
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.
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 ....

nhuda
23rd June 2009, 09:22 AM
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 ....

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,

nickokio
23rd June 2009, 10:10 AM
i like it so far...dont know what will happen if the data connection breaks (problem with older version) but we'll see :)

stan23
23rd June 2009, 11:11 AM
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?

camro
23rd June 2009, 11:23 AM
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.

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....

Is a status icon necessarily quadratic?
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

shaggylive
24th June 2009, 04:12 PM
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.

grayme
24th June 2009, 06:36 PM
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?

elosogrande7076
24th June 2009, 08:06 PM
So is this similar to a push email program? Im not sure i understand what this is for....can anyone please explain? Thank you

camro
24th June 2009, 08:38 PM
So is this similar to a push email program? Im not sure i understand what this is for....can anyone please explain? Thank you
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 ......)

mjg7876
24th June 2009, 10:02 PM
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 ......)
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

camro
25th June 2009, 12:32 AM
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!
GUdy
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.

mjg7876
25th June 2009, 02:54 PM
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.
I just checked the password thing, no problems here.

camro
26th June 2009, 05:45 PM
I just checked the password thing, no problems here.

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 ?

mjg7876
26th June 2009, 08:53 PM
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 ?
New Version, many fixes. (http://www.gudensoft.com)

mjg7876
26th June 2009, 08:58 PM
My site is having database issues, refresh and you should connect. We are working on it.

Thanks

Gudy

camro
26th June 2009, 09:21 PM
database error - i know - often got this - refresh helps ..

well testing.
sounds good the new update :)

new for me:
in startup folder there is now "EmailScheduleService.lnk" -> think should be "EmailSchedulerService.lnk"

other things - i will test in detail now more ....

camro
26th June 2009, 09:31 PM
first testing ...

+ connection is now holding online :) fine !!
this was the biggest part - and it seems to be stable NOW !!!! - great job
+ solution with the window option "hide" is really good and sufficient enough !
- Test the time range - this seems not to be fixed.
(Start time to 7:00 // End time to 2:00) will not start the service imapidleservice.exe.
changed it to : 7:00 // 23:59:59 -> now imap idle service will start after "save" in emailschedulersettings.exe
- please change the link in the beta 1.02 for startup service - otherwise there are 2 links after installation !!!!! (see my post before)
in startup folder there is now "EmailScheduleService.lnk" -> think should be "EmailSchedulerService.lnk"

@users - please take care of the startup folder to see, that there are not 2 startup links
and i think it is now time for donations (me too) :)

camro
26th June 2009, 09:57 PM
1. CONNECTION TEST with mixing activesync
=================================
one special test of connection will not work ...but this is really a HARD CORE TEST ;-)

1.) connec to USB (ActiveSync connection with Internet about activesync)
2.) restart the PDA
then it startup - wonderful and it is working smooth perfect.
then after some emails(which are working perfect) + some checks waiting
26.06.09:22:47:48 MessageHandler Today Screen Redraw
26.06.09:22:48:43 ServiceForm System Check OK

then - i plugged out the USB cable

now the check should see, that there is no internet connection any more....
but nothing happen

26.06.09:22:48:43 ServiceForm System Check OK
26.06.09:22:49:43 ServiceForm System Check OK
26.06.09:22:50:43 ServiceForm System Check OK

but nothing happen - no email comes in..

then i press: "Confirm Connection"
in the log comes:
26.06.09:22:52:50 GLib Socket returned OK, resetting IDLE
26.06.09:22:52:50 ImapHelper reseting idle, restarting idle, Sending DONE
26.06.09:22:50:43 ServiceForm System Check OK

but nothing happen - no connection will be establish or trying ..

EDIT: if i start the internet connection per hand again(ex: checking the weather), then it is working again and it seems to be, that then the connection will be stay tuned.

camro
26th June 2009, 10:10 PM
2. CONNECTION TEST (with interrupt the connection manually + testing losing the connection , because no signal - in my cellar :)
=================================
next HARD CORE TEST ;-)

1.) no connection to USB
2.) restart the PDA
then it startup - wonderful and it is working smooth perfect.
then after some emails(which are working perfect) + some checks waiting
26.06.09:22:47:48 MessageHandler Today Screen Redraw
26.06.09:22:48:43 ServiceForm System Check OK

then - i interrupt the connection(tried via losing signal - go down to cellar)
and also tried same test with manually switching off the data connection in cellar

now the check should see, that there is no internet connection any more....
but nothing happen

26.06.09:23:08:22 ServiceForm System Check OK
26.06.09:23:09:22 ServiceForm System Check OK

EDIT:
some insteressing line....
in my log i see also a line: like:
26.06.09:23:09:22 MessageHandler Message: 49160 -> i think, this happen in this moment where i cut the connection - i see this only if the connection is OFF - or what does this mean ?
after it - then i get only :
26.06.09:25:09:15 ServiceForm System Check OK every minute

EDIT2:
wait i see now, that the connection is reconnecting after x-minutes ..

seems to be, that there was a check ex: 5 times and then i got more debug log and:
Connection was lost: socket error, and then testing network and so on ..
and it reset the connection and reconnect.
ok, seems to be, that there is an counter-timer or something...
well, i can live with this solution - will do more testing ...

camro
26th June 2009, 11:36 PM
another bug is (new bug).
if offline time - imapidleservice.exe crash
i tried it with minimized, normal and as active windows - always crash when the offline time willm be activated

camro
26th June 2009, 11:43 PM
TEST: auto-starting service on "online time" -> IS WORKING FINE ! :)

UncleBeer
27th June 2009, 06:22 AM
another bug is (new bug).
if offline time - imapidleservice.exe crash


Yep, I got that too. It was late, so I didn't write down the detailed crash info though. Next time I will.

mjg7876
27th June 2009, 04:30 PM
Yep, I got that too. It was late, so I didn't write down the detailed crash info though. Next time I will.
Cool! I love crashes!!!!! I wish I could get it to do it on my phone :( Please hit the details for me, post it here as I can't get it to crash on my device.

Thanks

Gudy

camro
27th June 2009, 04:49 PM
Cool! I love crashes!!!!! I wish I could get it to do it on my phone :( Please hit the details for me, post it here as I can't get it to crash on my device.

Thanks

Gudy

set stat time to: 00:00 and set the end time to "local time" + 3minutes

then save your settings and wait...
after saving - wait you'll see:

1.) the imap idle service will be started and will connect to server.
2.) then the imap idle service will get the offline notification and will try to set imapidleservice.exe to idle too.
but - here it crashed.

camro
27th June 2009, 08:49 PM
can you try to fix the time ranges also ?
bcause this is very often, that i start email checking at 10:00 til 3:00 (over midnight)
i'm thinking this should be relativ easy to fix , and i further think, that it is not necc. to make multiple ranges per day - i don't think, that someone wants "no checking" in lunch or dinner time :) if you can do the checks also over midnight - it would be enough.

UncleBeer
1st July 2009, 02:26 PM
Gudy:

Here's the error message I get at startup:

EmailSchedulerService.exe
Win32Exception

at
System.Diagnostics.Process.StartWithShellExecuteEx (ProcessStartInfostartInfo)

at System.Diagnostics.Process.Start()
at EmailSchedulerService.MainEventWatacher.RunStartpr ovision()
at EmailSchedulerService.MainEventWatcher.StartupRun( )
at EmailSchedulerService.MainEventWatcher.MainLoop()
at EmailSchedulerService.Program.Main(String[] args)

After dismissing the message, I can start it manually, but this error is consistent.

windtrader
6th July 2009, 10:55 PM
Finally, after a long long time of waiting and searching, this program is the true treasure of true push mail utilities!!!!

Until now there was only MS Exchange as the true push email and contact sync solution for windows mobile. Lots of reading every single thread and post from the gmurray utility to here.

I had to go with a hosted Exchange service as it was the only way I could have integrated contact and true push integrated to the WinMo messaging client. Just finished trying Flexmail but I want something that stays integrated with winmo email. Email scheduler seems like the holy grail to true push for IMAP mail!

With great hope I can disconnect from the hosted service by using this utility and G Mobile Sync for keeping contacts and calendars together. The combination offer fully integrated email, calendaring, and contacts between Google and native winmo platform.

I installed the latest version last night and had zero problems. Only thing was trying to decipher the start end parms which many comments reflect similar confusion.

My two greatest critical needs are that it work reliably and very easy on the battery. It seems both are already met but I found only a couple posts that actually compared this utility vs the MS Exchange-Activesync Direct Push option. It was also GSM while my HTC 6800 is Sprint CDMA. From my reading it seems emailscheduler might even less energy than DirectPush under certain situations.

I thought I read DirectPush requires a data connection but the heartbeat function in the server manages the connection and it seems when using Exchange-DirectPush-AS the data connection EVDO icon is always on. Similarly, IMAP Idle seems to need a data connection all the time which begs the question is either more energy efficient or the difference is trivial.

Since the frequency and volume of email are major variables could someone offer an educated determination on battery use for a couple scenarios using both IMAP-Idle and DirectPush?

Scenario1: 1 small (25k) message arrives at 10 minute interval.
Scenario2: 1 small message arrives at 1 hour interval.

Again, thanks for the excellent piece of software!

*** UPDATE ***
Well I had more time to test the utility and its power usage pattern against AS-Direct Push. I noticed right away that the battery use was much higher with it running so I started measuring the device use using acbPowerMeter. It seems every minute or so there is a large power spike that corresponds to what the log records. It ramps up to about 400 ma for a brief time then drops down. I compared this with AS-DirectPush and it is the same peak usage but the main difference is the AS connection remains at nearly zero power use for long periods of time and only spikes up when an update is getting pushed down.

Depending on how often email drops into your IMAP inbox will have a dramatic impact on your battery drain. If you gets lots of emails, let's say one a minute, then you won't notice any difference in battery use. If you get email one every 15 minutes, then you will experience a big difference. AS does connect to the winmo device once in awhile even if there is nothing to push but it is quite infrequent. I am testing that now just for the record but it is maybe every 30 minutes. I think it depends on how the heartbeat is set in the Exchange server.

It is becoming clear that the only way to really have the optimal push PIM/email on winmo is Exchange/AS/Direct Push. I hate to have to say that but it really seems like reality. The push function really has to be driven from the server and the device is gonna be on the receiving end. Emailschedule gets really close but IMAP IDLE is still not as robust as AS-DirectPush.
Here is link to technet that describes the heartbeat better. The interval dynamically changes to optimize the frequency of checking.
http://technet.microsoft.com/en-us/library/cc182270.aspx


Keep up the great work and this is wonderful solution for many folks.

zim2323
7th July 2009, 04:32 AM
I searched through what I had time and couldn't find the answer. Maybe author can answer quick here...

If I enable IMAP idle, do I need to configure the send/receive interval for the account. I don't need any special times for it to be turned off. It's a 24/7/365 account.

Thanks!

Timmio87
7th July 2009, 10:29 AM
Hello first of all this app works great so thanks in advance for all of your hard work!
However I'm using a touch diamond with touchflow 2 installed and I'm having problems viewing the status of the IMAP IDLE log, i know this was an issue since touchflow users cant see the task bar that read in earlier posts. I did also see that you added a fix allow people to select whether to hide or minimise the IMAP IDLE log through the IMAP options in the config page. I've tried this option both checked and uncheck and either way the IMAP IDLE wont minimise it will just hide instead. The only for me to view the log is to quite touchflow and view the task bar.

So i was wondering if I'm doing something wrong or if other users have this issue as well. If so is there a fix around this or could we simply have a startmenu shortcut which would bring up the IMAP IDLE log.

Thanks again, Tim

mjg7876
8th July 2009, 05:32 PM
I searched through what I had time and couldn't find the answer. Maybe author can answer quick here...

If I enable IMAP idle, do I need to configure the send/receive interval for the account. I don't need any special times for it to be turned off. It's a 24/7/365 account.

Thanks!
The polling works independantly from IMAP IDLE, so you can set it, and it will check every X minutes. Its a good backup as this software is still not flawless.

mjg7876
8th July 2009, 05:35 PM
Hmmm, Hide will indeed HIde the form, minimize is like opeing a program up, then opening another. In this case, how do you get back to the first program on your phone? THat is how it works. Let me know if you need more info

mjg7876
8th July 2009, 05:36 PM
Hello first of all this app works great so thanks in advance for all of your hard work!
However I'm using a touch diamond with touchflow 2 installed and I'm having problems viewing the status of the IMAP IDLE log, i know this was an issue since touchflow users cant see the task bar that read in earlier posts. I did also see that you added a fix allow people to select whether to hide or minimise the IMAP IDLE log through the IMAP options in the config page. I've tried this option both checked and uncheck and either way the IMAP IDLE wont minimise it will just hide instead. The only for me to view the log is to quite touchflow and view the task bar.

So i was wondering if I'm doing something wrong or if other users have this issue as well. If so is there a fix around this or could we simply have a startmenu shortcut which would bring up the IMAP IDLE log.

Thanks again, Tim
Hmmm, Hide will indeed HIde the form, minimize is like opeing a program up, then opening another. In this case, how do you get back to the first program on your phone? THat is how it works. Let me know if you need more info

Loco5150
8th July 2009, 07:13 PM
I get an error when applying schedules on Xperia rom V-LITE 4.2 COBALT HARDCORE EDITION WM6.5 - 23001-23003.

EmailSchedulerService.exe
XmlException
Data at the root level is invalid. Line 2, position 1.

kohteessa System.Xml.XmlTextReaderImpl.Throw(Exception e)
kohteessa System.Xml.XmlTextReaderImpl.Throw(Int32 res, String arg)
kohteessa System.Xml.XmlTextReaderImpl.ParseRootLevelWhitesp ace()
kohteessa System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
kohteessa System.Xml.XmlTextReaderImpl.Read()
kohteessa System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
kohteessa System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
kohteessa System.Xml.XmlDocument.Load(XmlReader reader)
kohteessa System.Xml.XmlDocument.LoadXml(String xml)
kohteessa Microsoft.WindowsMobile.Configuration.Configuratio nManager.MainConfigurator(XmlDocument configDoc, UInt32 flags)
kohteessa Microsoft.WindowsMobile.Configuration.Configuratio nManager.ProcessConfiguration(XmlDocument configDoc, Boolean metadata)
kohteessa EmailSchedulerService.MainEventWatcher.RunEndProvi sion()
kohteessa EmailSchedulerService.MainEventWatcher.StartupRun( )
kohteessa EmailSchedulerService.MainEventWatcher.MainLoop()
kohteessa EmailSchedulerService.Program.Main(String[] args)

Timmio87
9th July 2009, 11:10 AM
Hmmm, Hide will indeed HIde the form, minimize is like opeing a program up, then opening another. In this case, how do you get back to the first program on your phone? THat is how it works. Let me know if you need more info

Yeah that's what i thought should happen, but I switch between open programs using the HTC task manager which is a drop down menu in the top right hand section of the touch flow 2 interface. This is working fine and i can switch between my currently open programs.
But i wasn't sure whether this works for minimised programs or just currently open ones which arnt currently in focus.

Is there another way to switch tasks? or am i missing something else with what im doing....

Thanks for your reply anyway

mjg7876
9th July 2009, 04:53 PM
I get an error when applying schedules on Xperia rom V-LITE 4.2 COBALT HARDCORE EDITION WM6.5 - 23001-23003.

EmailSchedulerService.exe
XmlException
Data at the root level is invalid. Line 2, position 1.

kohteessa System.Xml.XmlTextReaderImpl.Throw(Exception e)
kohteessa System.Xml.XmlTextReaderImpl.Throw(Int32 res, String arg)
kohteessa System.Xml.XmlTextReaderImpl.ParseRootLevelWhitesp ace()
kohteessa System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
kohteessa System.Xml.XmlTextReaderImpl.Read()
kohteessa System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
kohteessa System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
kohteessa System.Xml.XmlDocument.Load(XmlReader reader)
kohteessa System.Xml.XmlDocument.LoadXml(String xml)
kohteessa Microsoft.WindowsMobile.Configuration.Configuratio nManager.MainConfigurator(XmlDocument configDoc, UInt32 flags)
kohteessa Microsoft.WindowsMobile.Configuration.Configuratio nManager.ProcessConfiguration(XmlDocument configDoc, Boolean metadata)
kohteessa EmailSchedulerService.MainEventWatcher.RunEndProvi sion()
kohteessa EmailSchedulerService.MainEventWatcher.StartupRun( )
kohteessa EmailSchedulerService.MainEventWatcher.MainLoop()
kohteessa EmailSchedulerService.Program.Main(String[] args)
You got me, I don't know. That is an issue with the XML configurations on the phone. I have never seen this issue before. I am pretty sure 6.5 has .net 3.5, but you might try to reinstall 3.5 on it.

FYI to all: My HTC Titan has died. Right now, all development is in a holding pattern until I get a replacement. I will keep you updated.

Loco5150
9th July 2009, 06:20 PM
Double post

Loco5150
9th July 2009, 06:21 PM
Yes its strange. I have the same problem now on the new 4.3 version of that rom. Earlier I tried re-istalling NetCF3.5 with no help. I also tried to instal the new NetCF3.7 version, this does not run on that BTW...

But anyway you do great work here!

LordDeath
9th July 2009, 10:43 PM
I get an error when applying schedules on Xperia rom V-LITE 4.2 COBALT HARDCORE EDITION WM6.5 - 23001-23003.

EmailSchedulerService.exe
XmlException
Data at the root level is invalid. Line 2, position 1.

kohteessa System.Xml.XmlTextReaderImpl.Throw(Exception e)
kohteessa System.Xml.XmlTextReaderImpl.Throw(Int32 res, String arg)
kohteessa System.Xml.XmlTextReaderImpl.ParseRootLevelWhitesp ace()
kohteessa System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
kohteessa System.Xml.XmlTextReaderImpl.Read()
kohteessa System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
kohteessa System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
kohteessa System.Xml.XmlDocument.Load(XmlReader reader)
kohteessa System.Xml.XmlDocument.LoadXml(String xml)
kohteessa Microsoft.WindowsMobile.Configuration.Configuratio nManager.MainConfigurator(XmlDocument configDoc, UInt32 flags)
kohteessa Microsoft.WindowsMobile.Configuration.Configuratio nManager.ProcessConfiguration(XmlDocument configDoc, Boolean metadata)
kohteessa EmailSchedulerService.MainEventWatcher.RunEndProvi sion()
kohteessa EmailSchedulerService.MainEventWatcher.StartupRun( )
kohteessa EmailSchedulerService.MainEventWatcher.MainLoop()
kohteessa EmailSchedulerService.Program.Main(String[] args)

I have this error message, too. Here is running WM 6.5 with build 23004.

burtcom
9th July 2009, 11:42 PM
I have this error message, too. Here is running WM 6.5 with build 23004.

Me too with tytn II with stock 6.1 ROM

sahiljain22
13th July 2009, 01:40 AM
I'd have to go through it and look, but would think I could get it to run on 2.0. I know I would have to change some as I use LINQ for some of the xml provisioning, but it could be changed if enough people needed this changed. Anyone else have this same issue?

yes yes yes .. that would be amazing.

mjg7876
13th July 2009, 07:53 PM
yes yes yes .. that would be amazing.
Sorry, that is a really old post, I did convert the old beta to 2.0, but the new version is based on the .net framework 3.5, and now can't be converted back (well, it could but it won't be).

So Sorry.

Gudy

kaliman
14th July 2009, 01:09 PM
finally idle imap solution!

somehow, I just can get it to work completely. Tried 0.72beta and now 1.02beta

after install from CAB, when I enter setup and save, it crashes.

EmailSchedulerService.exe
IndexOutOfRangeException

bij System.String.get_Chars(Int32index)
.....................and so on (can't copy paste the error)

After that, I cannot get is started again and have to remove en reinstall.

It doens't seem to matter what setting I change, as soon as I hit save it crashes. After soft reset the same thing on startup:

error: IndexOutOfRangeException

If I only activate Imap idle, press ok and do not press save, it doesn't crash

However, I have to startup ImapIdleService.exe manually. It works for a short time and then crashes:

ImapIdleService.exe
FormatExecption

bij System.Boolean.Parse(String value)
bij System.Convert.ToBoolean(String value)
bij
ImapIdleService.ServiceForm._StatusTimer_Tick()
bij
ImapIdleService.ServiceForm.SystemWatcher()

any ideas?

aaswouw
14th July 2009, 03:01 PM
finally idle imap solution!

somehow, I just can get it to work completely. Tried 0.72beta and now 1.02beta

after install from CAB, when I enter setup and save, it crashes.

EmailSchedulerService.exe
IndexOutOfRangeException

bij System.String.get_Chars(Int32index)
.....................and so on (can't copy paste the error)

After that, I cannot get is started again and have to remove en reinstall.

It doens't seem to matter what setting I change, as soon as I hit save it crashes. After soft reset the same thing on startup:

error: IndexOutOfRangeException

If I only activate Imap idle, press ok and do not press save, it doesn't crash

However, I have to startup ImapIdleService.exe manually. It works for a short time and then crashes:

ImapIdleService.exe
FormatExecption

bij System.Boolean.Parse(String value)
bij System.Convert.ToBoolean(String value)
bij
ImapIdleService.ServiceForm._StatusTimer_Tick()
bij
ImapIdleService.ServiceForm.SystemWatcher()

any ideas?

Same here!
For me it seems to be in the fact that I've installed a new ROM with WM 6.5
I'd no problems at all with WM 6.1

I know Gudy isn't supporting WM 6.5 yet, so maybe someone else is able to fix this for WM 6.5?

mjg7876
14th July 2009, 04:02 PM
Same here!
For me it seems to be in the fact that I've installed a new ROM with WM 6.5
I'd no problems at all with WM 6.1

I know Gudy isn't supporting WM 6.5 yet, so maybe someone else is able to fix this for WM 6.5?
Once I get my new phone, I will install 6.5 and play with it. I am curious, do you by chance have .net 3.7 installed? I noticed a few of the roms having this version of the framework, and wonder if that is the reason for the issues.

I tried 6.5 for a few days on my old phone (titan), and email scheduler worked fine. I had .net 3.5 for that build, not the prereleased 3.7. The errors above look like a version issue (not the parse error, that is because some entries are not present in the registry).

I will support 6.5 once it is actually released. but until I know for sure what the final version is/has, I can't keep up with the beta builds.

Thanks

Gudy

kaliman
14th July 2009, 04:35 PM
I am curious, do you by chance have .net 3.7 installed? I noticed a few of the roms having this version of the framework, and wonder if that is the reason for the issues.
Gudy

I have 6.1 WWE ROM (shifu V11) running, radio ver 1.65.24.36
and .Net Framework 3.5.7283.0

bakasani
14th July 2009, 04:41 PM
Hi Gudy

Thanks I updated to the latest version I am connecting ok with SSL now but its not picking up new messages in idle mode, any ideas what I might be doing wrong?

it picks up messages if I do a 'Confirm Connection' or a 'Force Reconnect' but after that it does not pick any up, any ideas what I might try?

Regards

gshadow325
22nd July 2009, 12:56 AM
guyt that are having problems..... are you using a rom with build 21921 WM6.5?

i flashed chrome rom and energy rom with this build and got the same exception errors. i have flashed 21928, 21925 and many other 6.5builds and it has been fine for me.

camro
22nd July 2009, 04:48 AM
guyt that are having problems..... are you using a rom with build 21921 WM6.5?

i flashed chrome rom and energy rom with this build and got the same exception errors. i have flashed 21928, 21925 and many other 6.5builds and it has been fine for me.

well, i had also some crashes with imap idl, and i know that there are some bugs which crash the email scheduler (ex: if the timer goes off, then imap idleservice crash, etc...)
i think - gudy knows that now and hopefully he has soon installed the new pda (because his was broken). maybe some guys can spend some bucks for our chief :)

nahid569
22nd July 2009, 05:16 AM
Whats the difference between this application and rk-OSR? they seem to do the same thing, am I right?

camro
22nd July 2009, 08:58 PM
Whats the difference between this application and rk-OSR? they seem to do the same thing, am I right?
i don't know what it is rk-OSR ??
the big diff for me - handling is very easy, imap idle support
but haven't try rk-OSR only read about it.

nahid569
22nd July 2009, 09:15 PM
so this program does not turn on the internet connection automatically (i.e Wifi or 3g) it just sets the time it will check for email and doesnt actually turn on the internet?

PiperD
23rd July 2009, 08:23 PM
so this program does not turn on the internet connection automatically (i.e Wifi or 3g) it just sets the time it will check for email and doesnt actually turn on the internet?

If you're just using the scheduler, that's correct. It tells Outlook to sync, so it's Outlook that will start your connection.

Concerning IMAP IDLE - Gudy will have to comment.

camro
23rd July 2009, 11:13 PM
so this program does not turn on the internet connection automatically (i.e Wifi or 3g) it just sets the time it will check for email and doesnt actually turn on the internet?
please read on gudy's page: here -> http://gudensoft.com/
also i wrote some lines to know about email scheduler in gudy's forum: here -> http://forum.gudensoft.com/viewtopic.php?f=7&t=12
Manual for "Email Scheduler 1.01beta"

I want to beginn with: manual / FAQ for correct use of "email scheduler"

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

butler360
24th July 2009, 10:26 AM
Running it on an HTC Ozone gives me this error:

EmailSchedulerSettings.exe
NotSupportedException

at
Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
at
System.Windows.Forms.Control_InitInstance(WNT wnt, UInt32 dwStyle)
at
System.Windows.Forms.Control..ctor()
at
System.Windows.Forms.Button..ctor()
at
EmailSchedulerSettings.Form1..ctor()
at
EmailSchedulerSettings.Program.Main(String[] args)

Running .net CF 3.5, stock ROM. Only registry mod is storing email inbox and attachments on SD card.

kaliman
30th July 2009, 08:49 PM
pitty, think this project is over :(

Email Scheduler Update and Some News

I just wanted to let you know that I have started using nuevasync for my personal push email solution (I do still use the schedule piece of it). Email scheduler will have one more release, the schedule piece of it will be a final version, and imap idle will be considered an unfinished beta. I have worked on the connection piece a bit, but have really hit a dead end. I really want to focus on my other projects (RadarLove, GolfGPS, and a new text message to email program).

I plan on making Email Scheduler open source. Once I get the website updated to handle an open source project, get permission from a friend that helped on the project, clean up the code enough to make it readable, get my license in order, etc, it will be available.

FYI, if you haven’t looked at nuevasync.com, you might want to. It uses the activesync protocol to simulate an exchange server for any imap idle server. So far, it has worked great, and is using the phone the way it was designed to be used. The push email feature is not a free service, but is dirt cheap at $25.00/year.

Thanks

Gudy

camro
30th July 2009, 09:09 PM
pitty, think this project is over :(
hmm...
nuevasync.com goes complete a other direction.

then all data are on the nuevasync server and they will load the data to their own server and then from there they are simulationg an exchange server.
hopefully gudy can do finishing the part of the scheduling with more ranges and over midnight.
maybe he found the time to fix some start errors and don't set the focus to imap idle.

maybe i will try to go'on with the source code - if he spend it...

l3it3r
30th July 2009, 09:40 PM
I love the idea of this app, but it slowed my phone to a crawl on 6.5 :(

camro
30th July 2009, 09:47 PM
I love the idea of this app, but it slowed my phone to a crawl on 6.5 :(

which software ?
email scheduler slow down your device ?

snemies
31st July 2009, 10:23 AM
Hello together,

everytime my device switches from END to START, I get the following error message:

-----
EmailSchedulerService.exe
SystemException
Error Code #: 2147500037

at Microsoft.WindowsMobile.Configuration.Configuratio nmanager.MainConfiguration(XmlDocument configDoc, UInt32 flags)
at Microsoft.WindowsMobile.Configuration.Configuratio nmanager.ProcessConfiguration(XmlDocument configDoc, Boolean metadata)
at EmailSchedulerService.MainEventWatcher.RunStartPro vision()
at EmailSchedulerService.MainEventWatcher.StartupRun( )
at EmailSchedulerService.MainEventWatcher.MainLoop()
at EmailSchedulerService.Program.Main(String[] args)
-----

I have a Samsung SGH-i780 device with WindowsMobile 6.1 and compact Net-frameworks 3.5.

Is there anybody who knows a solution for this error?

Thank you

twister_65
5th August 2009, 10:03 PM
Hi,

i want to make a tool to add a shedule plan for send/recieving emails.
something like

"Monday, Start: 08 a.m. Ends: 6pm, all min"
Thuesday, Start: 10 a.m. Ends: 4pm, all 10min"
or daily, or only weekend, etc...

But how can i change the settings?
it is in the regestry or can i make it via .net cf?

camro
6th August 2009, 02:24 AM
Hi,

i want to make a tool to add a shedule plan for send/recieving emails.
something like

"Monday, Start: 08 a.m. Ends: 6pm, all min"
Thuesday, Start: 10 a.m. Ends: 4pm, all 10min"
or daily, or only weekend, etc...

But how can i change the settings?
it is in the regestry or can i make it via .net cf?

it is planned to do followings:

ex:
on weekday
00:00 to 03:00 -> polling all 30minutes
03:00 to 08:00 -> manually (like the offline time - nothing should be done)
08:00 to 17:00 -> IMAP IDLE (connection all the time)
17:00 to 00:00 -> polling all 30minutes

and the same for weekenddays

i think if this is possible, it should be enough for all users.

florelix
24th August 2009, 09:10 PM
Hi,
first of all: Thank you for developing this program!

Q: Can someone upload the 1.0.2beta cab/zip file into this thread or provide the download link?
I absolutely can't find it. The newest I can get is the .72beta from gudensoft.com.

Please help, thanks!

llothar
24th August 2009, 09:16 PM
Really, do not abandon this project. It's really a way to go. Nuevasync can disappear anytime, their security may be compromised etc. It's really a pity that Windows Mobile devices do not have push email feature out of the box. Nokia, iPhone, Android - they have it, and for free. Your app is the best thing you can get. Really.

florelix
25th August 2009, 03:54 PM
Does nobody have the 1.0.2beta still on their PC or anywhere maybe?
Upload would be very much appreciated!

mjg7876
25th August 2009, 05:08 PM
Does nobody have the 1.0.2beta still on their PC or anywhere maybe?
Upload would be very much appreciated!

Hey all, sorry I've been away, work has been busy! Here is a link to the latest version (not the one I am currently still working on):

http://gudensoft.com/?p=236

I have not fully abandoned this project, I will release at least one last version, and will also move it into the open source community once I get the time to finish it up. I am currently working on my RadarLove program,(read about it here at XDA (http://forum.xda-developers.com/showthread.php?t=514246) and at Gudensoft.com (http://www.gudensoft.com)). RadarLove is more popular (over 10,000 DL's in 2 months compared to just over 500 for Email Scheduler) so this is on the back shelf until I finish the new release for it (which I hope is this week).

I will address all the issues I can, but the IMAP IDLE will still be very much a beta software. The Schedule section of the program is already pretty solid, but I will see about adding the additional time elements needed by some of you.

The best way to contact me, or ask me questions is to post them HERE (http://forum.gudensoft.com). I check those much more often than i do here... as you can tell.

Thanks

Gudy

camro
26th August 2009, 01:40 PM
Hey all, sorry I've been away, work has been busy! Here is a link to the latest version (not the one I am currently still working on):

http://gudensoft.com/?p=236

I have not fully abandoned this project, I will release at least one last version, and will also move it into the open source community once I get the time to finish it up. I am currently working on my RadarLove program,(read about it here at XDA (http://forum.xda-developers.com/showthread.php?t=514246) and at Gudensoft.com (http://www.gudensoft.com)). RadarLove is more popular (over 10,000 DL's in 2 months compared to just over 500 for Email Scheduler) so this is on the back shelf until I finish the new release for it (which I hope is this week).

I will address all the issues I can, but the IMAP IDLE will still be very much a beta software. The Schedule section of the program is already pretty solid, but I will see about adding the additional time elements needed by some of you.

The best way to contact me, or ask me questions is to post them HERE (http://forum.gudensoft.com). I check those much more often than i do here... as you can tell.

Thanks

Gudy


in my mind...IMAP IDLE is a application which are used from business users.
because they want to use use "imap idle". often some diff. not fully integrated products will be used from them (ex: fleximail, profimail), because imap idle is there working.
IMAP IDLE application (email scheduler) is not so popular, bcause the there are some investigations from gudy, before business users can use this application.
but, i'm sure - if this email scheduler will work with: email scheduling for more time ranges + imap idle support -> the business guys will like to pay for a imap idle appliation which can be used for integrated email system (poutlook).

and i'm sure, that you will get more money for it as for radarlove !
don't understand me wrong, but i won't pay for radarlove, but i would pay for independent IMAP IDLE solution ~20,-

maybe you can think about one again - and maybe you can make a freeware version without imap idle support and a IMAP IDLE SUPPORTM version for 10 - 20,- bugs.
and you will see, that you get in 2 weeks more money as with radarlove.

think about...

thanks for all your great work !!!

cu camel

PLS: radarlave is a fine application (if you are from US).
but not all of us... :), but this appl. is more like a "toy-application"

EDIT:
36,122 views on "email scheduler" only here in xda-developers forum - and a lot of guys doesn't know, that this appl. is almost a solution for IMAP IDLE !!!
3,687 views on "radarlove"

florelix
26th August 2009, 05:24 PM
Thanks for the 1.0.2 beta.

I have to say that I would definitely pay $20 for this app if the IMAP IDLE support would work flawlessly!! And I think so will thousands of WinMo users around the entire world, too!

Other solutions are just not as good as this could be.

I think if you get this app working really well and it hits the online app stores etc. it will be a bestseller, because people really need this and don't buy it for fun like some games and stuff.

asson
31st August 2009, 09:46 PM
this is what i have bean looking for,
when i try imap idle with momail.com i got error:
"server doesnt support IDLE"


but momail works with flexmail
http://www.cellfanatic.com/2008/08/19/momail-and-flexmail-team-up-for-a-windows-mobile-push
anyone that have momail working with imap idle?
**

i did download the app from http://www.gudensoft.com/emailscheduler/ and that is .72 beta
now i got EmailScheduler 1.0.2beta, works as it should, thanks alot!!

kaliman
25th September 2009, 11:01 AM
well I just got myself a HTC Touch Pro2 and (with the original ROM) email scheduler works great so far

guess it was a ROM problem on my TyTN II

kjanssens
28th October 2009, 07:57 AM
I'm willing to pay as well but like someone said before, it has to be working (almost) perfect.

Allthough the current version already works ok ... I have the feeling the exception handling could use a fix.
I regullary have the problem that the program has an exception (eg nullpointer) and it just stops working instead of resetting it self and start again. Which makes it for me not reliable enough :(

Fixup
5th November 2009, 05:57 AM
There was such an imap idle program for Treo and later was bought by Palm. This program has great potential, don't give up, maybe MS or HTC will buy it.

It works very well, the only issue is: it generates data activities every 1 minutes or so.

[update]Got 1.0.1beta, it does not ping every minute like 1.0.2beta does, so far so good.

camro
21st November 2009, 11:44 AM
well, in my mind ...
i had wait too long ...
waiting too long for new fixes ...
so, i see potential in ImapPusher, and then i see, that FIXUP had the expirense fix the main imapidle socket problem, and then i thought about an alternative to email scheduler.
well, i worked very much now on a new solution with base from imapidle.

i think, that i can provide you a very good solution for all your wanted stuff ...

see new thread "MailHandler". (not all functions are working yet)
+ handling with standard mail programm (poutlook)
+ multiple mail profiles
+ ImapIdle - via imap+imaps(ssl)
+ Polling in free defined time interval
+ Multiple Time Scheduling for mailhandling with options for:
-> switching on/off diff. connection things (RADIO, GPRS WLAN, BLUETOOTH)
-> email checking (using imapidle or polling)
-> multiple time plans for every mail profile with using diff checking interval on polling and checking/alive on imap idle
etc .....

camro
21st November 2009, 12:26 PM
well, in my mind ...
i had wait too long ...
waiting too long for new fixes ...
so, i see potential in ImapPusher, and then i see, that FIXUP had the expirense fix the main imapidle socket problem, and then i thought about an alternative to email scheduler.
well, i worked very much now on a new solution with base from imapidle.

i think, that i can provide you a very good solution for all your wanted stuff ...

see new thread "MailHandler". (not all functions are working yet)
+ handling with standard mail programm (poutlook)
+ multiple mail profiles
+ ImapIdle - via imap+imaps(ssl)
+ Polling in free defined time interval
+ Multiple Time Scheduling for mailhandling with options for:
-> switching on/off diff. connection things (RADIO, GPRS WLAN, BLUETOOTH)
-> email checking (using imapidle or polling)
-> multiple time plans for every mail profile with using diff checking interval on polling and checking/alive on imap idle
etc .....

i'm working very hard on it, abd it is important, that you tell me all your wishes, so that i can male the structure ready for it.

cu camel

camro
23rd November 2009, 05:41 PM
so - the project MailHandler is growing ...
see: http://forum.xda-developers.com/showthread.php?t=586991
have phun ...
cu camel

dahauss
17th January 2010, 07:04 AM
I am trying to get this to run on WM6.5.. I configure the options and hit SAVE but then I get an error about an unexpected error:

EMAILSCHEDULERSERVICE.EXE Error Code 2147753992


Is there any way to fix this?

Thanks...

camro
17th January 2010, 10:30 AM
I am trying to get this to run on WM6.5.. I configure the options and hit SAVE but then I get an error about an unexpected error:

EMAILSCHEDULERSERVICE.EXE Error Code 2147753992


Is there any way to fix this?

Thanks...

there is no developmet + support for email scheduler.
Try SchedHandler - you'll find it on XDA.
cu

dahauss
17th January 2010, 04:24 PM
Thanks.. I took a look and that program seems to do a lot more then I need and was hard to understand... is there sometime simple to just say when to set the email checked to MANUAL and when to set it to the regular schedule? I did get the email scheduler working but it doesnt always work :)

camro
18th January 2010, 01:38 AM
Thanks.. I took a look and that program seems to do a lot more then I need and was hard to understand... is there sometime simple to just say when to set the email checked to MANUAL and when to set it to the regular schedule? I did get the email scheduler working but it doesnt always work :)

if you wrote in thread Schedhandler what you like to do - then you'll get support for it there.
believe me - it is more comfortable and for future - best way to do ...
but it's up to you.

cu camel

stefanjadex
26th November 2010, 06:59 AM
Hi,

I know that the development for EmailScheduler is stopped, but I woul like to rise a question, maybe someone could help me to solve a problem.

I used EmailScheduler on Touch HD (BlackNew V ROM - WM6.1 Sense 2.5) and I consider very useful. I did not have any problems with it.

Now I run "kwbr 5.5 ROM - WM6.5 Sense 2.5" on the same phone.
I've set up the following normal email scheduler for checking my IMAP account :
M-F 08:00 - 21:30
S-S 09:30 - 13:30


The problem is: if the phone is locked with the default WM 6.5 lock screen, checking work only the first time. After that, no more checking.
Mentions:
- if I keep the phone without lock, it works.
- if I change the checking interval for 5 min, it works even if the screen it is locked, but I want to check at 30 min.
- I've tried also to modify the BattResumingSuspendTime and ACResumingSuspendTime from 120 to 2000 to see what happen, but it is not working.

What do you think? Can I solve this problem?

Thank you in advance for your kind help.
Stefan