yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] bob_bournemouth:
HD2 and Hmail IMAP

Hi all I am trying to get my HD2 working with this program and my own IMAP server running on HMailserver (latest version).

Manual sync works but push does not seem to.

Will keep you all informed.
[Windows Mobile Software Development] lares_mat:
Hi!

I have a somehow similar problem like this one, I think:

I installed xImapPusher on my Omnia and actually got it to work, but in the log file I dicovered this (caution, it is a bit looong ;) ):

****

.

.

.

w ImapPusherService.Module1.Main()

reset client

17:50: IMAP0028 LOGIN MASKED MASKED

17:50: read: * OK Dovecot ready.

17:50: read: IMAP0028 OK Logged in.

17:50: processing ok

17:50: Login ok, proceeding to capabilities.

17:50: Sending: IMAP0029 CAPABILITY

17:50: read: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS LIST-EXTENDED I18NLEVEL=1 QUOTA

IMAP0029 OK Capability completed.

17:50: processing ok

17:50: Sending: IMAP0030 SELECT INBOX

17:50: read: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)

* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.

* 18 EXISTS

* 0 RECENT

* OK [UIDVALIDITY 1143453498] UIDs valid

* OK [UIDNEXT 5857] Predicted next UID

IMAP0030 OK [READ-WRITE] Select completed.

17:50: processing ok

17:50: Sending: IMAP0031 IDLE

17:50: read: + idling

17:52: socket error on recv. 0

17:52: socket errored out,

System.Exception: socket error on recv. 0

w ImapPusher.ImapClient.Read()

w ImapPusher.ImapClient.Connect(String pUserName, String pPassword)

w ImapPusherService.Module1.Main()

reset client

17:52: IMAP0032 LOGIN MASKED MASKED

17:52: read: * OK Dovecot ready.

17:52: read: IMAP0032 OK Logged in.

17:52: processing ok

17:52: Login ok, proceeding to capabilities.

17:52: Sending: IMAP0033 CAPABILITY

17:52: read: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS LIST-EXTENDED I18NLEVEL=1 QUOTA

IMAP0033 OK Capability completed.

17:52: processing ok

17:52: Sending: IMAP0034 SELECT INBOX

17:52: read: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)

* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.

* 18 EXISTS

* 0 RECENT

* OK [UIDVALIDITY 1143453498] UIDs valid

* OK [UIDNEXT 5857] Predicted next UID

IMAP0034 OK [READ-WRITE] Select completed.

17:52: processing ok

17:52: Sending: IMAP0035 IDLE

17:52: read: + idling

17:54: socket error on recv. 0

17:54: socket errored out,

System.Exception: socket error on recv. 0

w ImapPusher.ImapClient.Read()

w ImapPusher.ImapClient.Connect(String pUserName, String pPassword)

w ImapPusherService.Module1.Main()

reset client

17:54: IMAP0036 LOGIN MASKED MASKED

17:54: read: * OK Dovecot ready.​

***

So... What do you guys think about it?

It seems it gets some socket error (whatever it is) every two minutes and reconnects to the IMAP server. This makes it sort of bandwidth intensive...

The mail server I use works with IMAP IDLE (I tried the emansio push mail with a success).

What could it be?

Every help appreciated.

Mat
[Windows Mobile Software Development] DeepDay:
Hi Fixup,

I just started to use this great app with gmail. So far it worked well, but as I noticed it only works with inbox?

I have a lot of other folders under inbox, and using gmail filters to send the specific mails into those folders (labeling them as gmail calls it), and I also checked the skip inbox feature in the filter.

Also on the phone, I have checked those folders to be synced (tools->manage folders).

Any idea why I don't get those mails pushed, only the inbox?
[Windows Mobile Software Development] Fixup:
Read posts on the first page. Did you set the refresh interval to 2 minutes? Many service providers timeout the connection, for example, Verizon timeout every 5 min so I see this socket error every 5 minutes.
[Windows Mobile Software Development] DeepDay:
Found a serious BUG

Hi,

I just found a serious BUG!

Yesterday I tried this app, and it worked perfectly. (except the problem I wrote before about the folders unde inbox)

Before I went to bed, I turned on flight mode (phone off, wifi off), and did NOT stopped the pusher service. I thought why should I?

Today morning I woke up, tried to turn on device, and realized that the battery is completly drained out! It was 60% percent last night!

This should not eat as much battery as a normal 5 minutes send/recieve cycle would, especially when there is NO internet connection at all!

Pls. fix this.

Thx.
[Windows Mobile Software Development] shc22:
Hi,

I have been using this program for one week now and I have the same problem: The battery is completely consumed after approx. 10hours. Without the program my battery lives for approx. 24hours.

Thanks a lot for your help,

SHC
[Windows Mobile Software Development] lares_mat:
Hi Fixup!

I actually read the first page, and the following pages too. My fault was actually to think, that the refreshing is due to expiration of the IDLE command...

I wrote, that I used the emansio trial, and there you have two refresh parameters to set. The first due to IDLE and the secont due to socket stuff.

The IDLE thingy was set on emansio to 9 minutes and the second was set to max, but it seamed to have no impact on the socket refresh times. These were about 2 minutes regardless of the setting of socket timeout. So I thought, I can set it to 9 minutes by xImapPusher - I was wrong.

Can I set the refresh time to, say, 1.8 minutes? And what is the format: 1.8 or 1,8 in the setup file?

And - a big thank you for the awesome piece of programming!

Mat
[Windows Mobile Software Development] Fixup:
You should stop the service before you turn on airplane mode. The Connection Manager is designed to reconnect, it does not know whether a disconnection is caused by network interrupt or airplane mode. I'm not a WM programmer; I don't know if there is an API for a program to detect airplane mode.
[Windows Mobile Software Development] Fixup:
See the readme and posts about refresh and network timeout.
[Windows Mobile Software Development] DeepDay:
Ohh I see.. I didn't know that.
[Windows Mobile Software Development] rjmjr69:
Support for this is lacking. has anyone come up with the proper timeout for Sprint?
[Windows Mobile Software Development] shc22:
Sorry guys - but what is the difference between

- xImap Pusher

and

- xPush Service

which I can find in my "Start Menu".

Thanks a lot!

SHC
[Windows Mobile Software Development] Fixup:
xImapPusher includes connection manager; xPush Service does not.
[Windows Mobile Software Development] shc22:
ok - thanks for your quick reply.

At the moment I'm using the application "xImap Pusher" instead of "xPush Service".

What is the connection manager which is included in "xImap Pusher" and what is this application doing?

Thanks again for answering my stupid questions.

SHC
[Windows Mobile Software Development] Fixup:
Sprint does not time out sockets, i.e. you may use 25 min or even longer as refresh.
[Windows Mobile Software Development] dnube:
multiple vs single

This is an excellent app - have it working with multiple gmail accounts using TP2 on Telus. App (multiple version) is simple and it works. Great to see someone developing an IMAP IDLE push solution which is sorely lacking in WinMo.

However, to truly be complete it needs to work with servers other than Gmail/Fastmail. I have tried it with my own email server (courier IMAP) without success (tried self-signed and CACert certificate). Also could not get it working with yahoo imap.

Like others, have tried many other IMAP IDLE solutions but none totally satisfactory (Funambol came close but only works with one account and is somewhat quirky).

Other feedback:

Found that the single account version was unstable on my TP2. I could get it to run once and successfully connect with a gmail account, but I could not get back into the config – and attempting to do so would lock up phone requiring a soft reset.

So - here's my vote for someone to develop this application further (wish I had the skills myself). After all these years, can't believe we are still waiting for a full/stable imap idle solution on WinMo (I miss Chattermail on my old Treo!)
[Windows Mobile Software Development] thisisallen:
I am enjoying receiving push email with this program.

Question: using this program with Gmail I notice that when I have POutlook open then every few minutes the Connecting, Logging on..., etc. dialogue is running. But I do not have any mail activity as a result. Is this the way xIMAP Pusher is supposed to work? It seems like it is just checking my mail every few minutes.

Is it activating POutlook due to a false signal?

Is it due to losing my connection to Gmail and when it is reconnected by xImap Pusher it activates the Logging on..., etc. activity? (right now I am in India and the internet service in my area is not that good).
[Windows Mobile Software Development] bodypilot1978:
Time-out Vodafone (NL)

Hi Fixup,

I did this test and even with a refresh of 15 things run smoothly. Sent an email at 13 and received it well before the 15 minutes were up.

Should I increase the refresh even more (perhaps to 30 (and send a test email at 28 just to be sure it still works))?

Or does this mean that Vodafone NL does not time-out sockets even though time-out on their internet-settings seems to be set to 300 (www.vodafone.nl/prive/help/aanvragen_en_wijzigen/toestel_instellen/Algemene_instellingen)?
[Windows Mobile Software Development] bangsters:
Hi.

Sorry for being a complete newb, but this is my first jump with winmo device. from UIQ, then android, now WinMo6.5.

I haven't gone through every page of this thread, and was wondering how exactly do I get this app to work? I have created my email address already as imap in the mailbox. And when i open Accounts Config, I'm being asked to create an account. So how do I tell Accounts config to push the email account I created earlier in the mailbox?

Also, the start/stop buttons are disabled as well. And can I have multiple IMAP emails that are nongoogle (my own domains)?

Any advice? Thanks

EDIT: Still cannot get it to work. I am using the multiple version. Also, will this work if my SSL is self signed? Or can I use it standard imap port 143 instead of 993? I tried both but can't get it to work.

btw I'm using TMO US HD2 if that matters.
[Windows Mobile Software Development] UncleBeer:
I've got this also on my HD2. Obviously a bug somewhere. I'd love to see this actually working...
[Windows Mobile Software Development] bangsters:
bump anyone?
[Windows Mobile Software Development] UncleBeer:
This might be "abandonware". :(
[Windows Mobile Software Development] dnube:
bangsters

I have only been able to get the multiple version to work. When adding a new account in Config, need to make sure the "Box Name" is exactly the same as the email account name in outlook. Enter password, save config and then run the service. Should start pushing at this point. I disabled the outook automatic send/receive (shouldn't be necessary as long as the push is working).

Start, Stop and Service port are greyed out for me as well.

I was successful in getting 2 gmail accounts to work using the multiple version. However, AFAIK, it will not work with anything outside gmail and fastmail (I also tried with my home email Courier IMAP server with no success including non-SSL and self-signed cert).
[Windows Mobile Software Development] bangsters:
ahh....i was trying to make it work with my own servers, both non-google.

thanks
[Windows Mobile Software Development] dnube:
+1 on abaondonware :(
[Windows Mobile Software Development] bangsters:
my problem seems to be pocket outlook and imap ssl, and not this plugin, so this might be a stupid question but which domain for ssl cert should I get, should I get domain.com or mail.domain.com? we access the server via mail.domain.com but the email addresses are domain.com. my ssl is not widcard and I can only put one since we are using winserver. my macbook mail can connect via imap ssl on port 993 without issues though. but pocket outlook keeps throwing an error to check the settings.

i'm already lost with this pocket outlook thing.... any advice?
[Windows Mobile Software Development] bangsters:
WOOOT!!!! It's working! and I'm using my own mailservers and own domain. non-google and i am using the multiple imap version of this module.

looks like you have to have a valid ssl certificate in port 993 for it to work. try using pocket outlook first an try if it can connect via ssl. once pocket outlook works without the module (note: you must force secure during one of the stages in setup). then once it works, just install the module.

thank fixup and xda people!!!

EDIT:

only drawback I am seeing is if the phone restarts, I have to start it manually. Is there a way to auto start the app, like an autoexec.bat for WM6.5 perhaps?

Thanks again
[Windows Mobile Software Development] UncleBeer:
From an earlier part of the thread: copy "xImap PusherM" from Windows/Start Menu to Windows/StartUp.

Again, sure wish there was more support for this, as I think there's a big market for low-energy, working PUSHmail on these phones.
[Windows Mobile Software Development] dnube:
bangsters,

Great news ... glad you got it working ... going to try this again myself.

Where did you get your certificate? free or paid? self-signed? appreciate more details ...
[Windows Mobile Software Development] bangsters:
paid. i tried self signed but i couldn't get it to work.
[Windows Mobile Software Development] musicgeek:
Mail Sync After Reconnection...

Hi Fixup,

The latest version (posted on the first page) 4) has "No mail sync after a re-connection, good for battery life." Can this just be toggled as an option to do mail check after reconnection to fetch new mails?
[Windows Mobile Software Development] Fixup:
Sorry long time not be here. I lately found that set refresh to 28 is the very best. Other valuses such as 9, 25 and even 29 gives poor battery life with socket error every few minutes. I'll look into this issue when I have time but for now just use 28 and you'll be fine.

For imap servers that use a self-signed ssl certificate, you need to create a cert for wm and install it on the phone.

For now, I do recommend the m version.
[Windows Mobile Software Development] sszz:
Cert - how?

I'm sorry for being so dumb but how do you generate a Self Signed Cert? I have been googling for an hour but still nothing.

I'm okay with my Gmail account but connecting to Zimbra fails no matter what I try. Using FlexMail I can promptly recieve mail using IDLE commands, so this cannot be a problem.

Thanks in advance.
[Windows Mobile Software Development] Fixup:
Search for Z-Push-Installation+SSL-Manual.pdf:

http://prdownload.berlios.de/z-push/Z-Push-Installation+SSL-Manual.pdf
[Windows Mobile Software Development] sszz:
Thank you!
[Windows Mobile Software Development] sigson:
Forgive my ignorance

Guys,

Total NOOB question but would this work for a OWA email account?

Thanks!

Sigson
[Windows Mobile Software Development] computerjunkie:
Could this fix the verzion problem:

source: http://www.isode.com/whitepapers/imap-idle.html
[Windows Mobile Software Development] Fixup:
As long as the mail server supports IMAP Idle.
[Windows Mobile Software Development] Fixup:
Don't know if this is a new thing or not: Gmail server sends a fake "EXISTS" command every 5 minutes, which is similar to above solution. Don't know if this fixes the Verizon problem or not. I no longer have a Verizon account to test with; I have switched to Sprint, no more this 5-min problem.
[Windows Mobile Software Development] linenoise:
I just installed the software on my wm6.5 phone. There seems to be a large battery draw, and a slowdown of the system. It takes a long time to go from page to page, and sometimes, I have to wait before I can click on something. I have xImap PusherM autoloading, and it shows up in the task manager using anywhere between 41% and 92% of the CPU. Is this normal?
[Windows Mobile Software Development] sszz:
This happens if you do not install the certificate for the email server you want to connect to.

I experienced the same problem. In my understandung the imappusher tries to connect and uses a lot of cpu power. After installing the correct cert, your problems should go away. Good luck!
[Windows Mobile Software Development] linenoise:
Okay, how do I get and install the certificates?
[Windows Mobile Software Development] Neo84:
Generally this tool works great but I got one question.

Ingoing emails are synced without problems but it seems like that deleted emails on the phone are not pushed until I manually sync from outlook mobile. Any help?
[Windows Mobile Software Development] charlock:
Works a treat with 1and1.co.uk and Vodafone UK

Thanks Fixup. Brilliant app (been looking for something like this for several years).

No problems with 1and1 IMAP and Vodafone UK (on 28 refresh).
[Windows Mobile Software Development] gdtv:
It woks well, thanks
[Upgrading, Modifying and Unlocking] ryan5091:
i upgraded and my windows 7 mobile device center wont detect ether will my xp's active sync it says that the usb device has malfunctioned(xp and 7)but windows mobile 6.0 works with out malfuctions PLAESE HELP! I WANT WM 6.5
[G1 Apps and Games] oraeanast:
Just was wondering if there was any app or add-on that allowed for accelerometer shaking to change songs. Searched market and could find anything.. thx
[G1 Apps and Games] zoth:
that would cool...
[G1 Apps and Games] Takenover83:
Well it could not be too sensative. I would not want it changing when I am walking or running.
[G1 Apps and Games] fenixnr:
Wouldn't you have an on off option just for that reason? lol
[Hero, G2 Touch General] shawhu:
Is there a working solution for this? cos i've searched the forum and apparently there is none. Can't believe the latest HTC Hero, the best android phone HTC can offer currently, has no proxy setting on wifi. It's like a big joke to me. I wish I had researched before I bought it

anyway, I've tried the "any cut" to create a shortcut to proxy settings and set accordingly, doesn't work.

Please anyone if you have a working solution, please share it with us.
[Hero, G2 Touch General] sssfeather:
openvpn

http://android.modaco.com/content/software/291919/openvpn-on-android/
[Hero, G2 Touch General] shawhu:
thanks for you help.

but I dont think openvpn is the answer here...because in many places (my office for one) you can only access the web through a http proxy server. and htc hero doesn't allows that. not to mention the openvpn thing, which only works by connecting to a certain port which obviously is not allowed in such environment. openvpn can connect to a 443 port too but hey, we need to have a working http proxy first then we can connect using https, and the proxy server need to support https proxy...but that's not relevant here. so i cut the crap.

thanks anyway

any other solution to this android can't support proxy settings on wifi thing?
[Hero, G2 Touch General] rfgamaral:
I don't know if this could work but try to mount the filesystem with write access through adb (I don't know how to do that), find one file that is used as a startup script (I don't know which one is it either) and place the following lines there:

export http_proxy=http://myproxy:port
export ftp_proxy=http://myproxy:port

Reboot the device, open a terminal (in the device) and type echo

$http_proxy

and see if outputs what is supposed to. If it does, maybe you're all set and you just need to test the web and see if it really works.

Sorry for not being able to help you with some of the steps but this is my basic linux knowledge kicking in, my android linux knowledge is below basic and I have no time to explore it further at the moment.

I'm curious about the results though :).
[Hero, G2 Touch General] kien:
http://code.google.com/p/proxysetting/

EDIT: doesn't work on cupcake apparently.
[Touch 3G General] nigelpong:
how to remove start up sound and pic when we on our hp?
[Touch 3G General] Eranga:
I removed the startup animation by disabling the "OemAnimation" under services (set startup type as Manual). you can do it using "FdcSoft TaskMgr"
[G1 Android Development] cars1106:
now now don't flame me for posting in the Dream Android Development Section. Because I have an ideal I would like devs to see and maybe you know, develop.

So my ideal is cross platform/rom app/hack to change the colors of the leds when the phone is charging. I know I am getting tired of Red, Orange, Green. its so dull and boring.

What do you guys think?

P.S. Mods please forgive my foolishness if I have posted in the totally wrong section.
[G1 Android Development] Meltus:
You mean cycle through the colours when it's charging? or just change the colour?

There's plenty of apps on the market that let you change the colour for incoming calls, messages, wifi, etc. but none that cycle through the colours.

That would be pretty sweet tbh.
[G1 Android Development] prince.siraj:
you're in the right section, android development. since this would be a development idea, you're correct. although it can be debatable that it's just a question... I say YES. so who knows what to do?
[G1 Android Development] Abolfazl:
I think when it is fully charged it should cycle through numerous colors. Charging should pulsate between red and orange
[G1 Android Development] flamerider88:
Or can we fix the notification while charging? there is only 1 app for that and its a payed! it's something that should be stock on the phone like SMS
[G1 Android Development] yourtravelboy:
LED Notification flashing while charging

I agree. It would be great to have the LED flash while charging when we get any kind of notification sms, email, alarm, tweet, gtalk etc. maybe the color changing option could be added to the settings menu too. This is a great idea.

In cyan's roms there is a great LED color/flash rate changing menu in the messaging settings. Could this be a good place to start from?
[G1 Android Development] lukekirstein:
Found an app that does just that, flash notifications when charging. It's called "Always Flash for root users." It's paid, I might have it free. (sssssssshhh). I didn't like it because it runs as a background service and I despise background services, but definitely works well.

I do like the idea of pulsating colors while charging. However, I'm not quite sure how the electronics of the LED work in the G1. I haven't read anything about it being able to pulse. LED's can pulse, but I don't know if the G1 can do that.

Doesn't the myTouch's trackball pulse while charging?
[G1 Android Development] JAguirre1231:
I don't think what you guys are saying is what he wants.

I think he wants when it's charging

<15%=red

<90%=orange

>90%=Green

He wants to change those colors to blue or purple or yellow or something
[G1 Android Development] Abolfazl:
Its all the same thing. If we can change the colors we can also make them pulsate
[G1 Android Development] JAguirre1231:
Yeah, but it started to become one tree completely different of what he wanted, after the pulsate was mentioned
[G1 Android Development] dipeshb:
Hero LED

I remember Hero LED used to be able to change the LED's whilst charging, but when it got 'improved' it no longer interfered with the green charging LED.

Personally I am not concerned about gradiating LEDs whilst charging, but would like the LEDs to notify me when I have had an incoming e-mail or SMS whilst charging, and I dont want to have to pay £1 for the privelige!
[G1 Android Development] cars1106:
Any kinda change is good though I do like the pulsating, Now thats sexy. Like when a mac is sleeping its lil light pulsates damn thats hot.

Yes all of your ideals are correct.