Send and Recieve Via Code - Windows Mobile Development and Hacking General

Hi,
Is there a way via code (c#) or a Dll Reference that allows you to trigger outlook into sending and recieving.
Resson is i am making an amm that monitors wirless network changes. When you are on a set "Approved" wireless network the app will tell send and recieve then sleep for X minutes wake up and see if your still on said network then go again.
I tried looking for an app to do it could not find one .
Anny Ideas Appreciated.
Cheers

Related

Wifi over 3G

Hey,
I have a seemingly simple problem. I use POP email and I want to check for emails regularly but at home and work I can stay connected to a WiFi network.
I know with Skype I can set the program to use WiFi if available else 3G. Does anyone know if this can be done at a system level so for instance that email and any other apps needing a connection will follow this protocol, please?
Thanks.
Since i do not want to create a new thread (for 2 posts maximum) i will ask here: my phone shows that is connected with the wi-fi (usr9108 router--> access point) BUT when i am trying to sign in to msn, skype open a page in I.E nothing happens, it's like i am not connected to the net.
MetalMushroom said:
Hey,
I have a seemingly simple problem. I use POP email and I want to check for emails regularly but at home and work I can stay connected to a WiFi network.
I know with Skype I can set the program to use WiFi if available else 3G. Does anyone know if this can be done at a system level so for instance that email and any other apps needing a connection will follow this protocol, please?
Thanks.
Click to expand...
Click to collapse
Most applications will use whatever connection is already on. In your case if you are connected via WiFi then your email will use that connection, if not then it will try to connect by the default GPRS/3G connection setting. I do this all the time.
Okay, yeah sorry.
To clarify I think what I really want is to let the device go into sleep mode and attempt to create a WiFi connection before it attempts to create a 3G data connection.
Other than that, purchasing a cradle and leaving the device in alert mode would be the way forward would it?
Is there a way for WiFi to remain on even if the device is in Sleep mode?
Thanks again.
MetalMushroom said:
Okay, yeah sorry.
To clarify I think what I really want is to let the device go into sleep mode and attempt to create a WiFi connection before it attempts to create a 3G data connection.
Other than that, purchasing a cradle and leaving the device in alert mode would be the way forward would it?
Is there a way for WiFi to remain on even if the device is in Sleep mode?
Thanks again.
Click to expand...
Click to collapse
Oh I see you what you mean. Why not try this schedule an event to wake the device and so long as it was connected to a wireless AP when it went to sleep it will try to reconnect when it wakes then schedule another event after a suitable pause to allow it to find and connect to AP to sync email.
Alternatively try SKSchema or MortScript which are both macro tools to do the above.
Cheers Jazza. Not sure how to 'schedule' an event but I'll do some research into 'SKSchema or MortScript' to see how I can use them.
Thanks for your help.

Auto Disconnect Hack?

I'm using Pocket Outlook, setup to send and receive email every 15 minutes on my Apache-- it does exactly what it should in that it connects, pulls down email and sends anything in my outbox-- the issue is that it does not disconnect or "sleep" as I've seen it referred to... I'm on a small regional network (Cellular South) who's techs have no idea how to support this phone, let alone help me with an issue like this one.
I was hoping that someone here might be able to assist? I know I can manually disconnect, but having to do that defeats the purpose of the auto connection settings... and leaving the connection open is hell on an already weak battery life.
Anyone have a suggestion as to a hack or third party application to help with this issue?
Have a look at this program: GB-SOFT GPRS Tweak if you are using GPRS.
I'm running the Apache (6700), using Windows Mobile 5 (AKU3.3). EVDO isn't offered yet so I'm just using 1X.
Any idea if this will work for EVDO also?

eMail Problem... but not with WLAN

Hi everyone!
I'm the proud owner of a HTC Kaiser for about 2 weeks know which works just fine, at least if there wouldn't be this extremely annoying eMail problem :-(
I configured my eMail account and when I'm downloading my eMails with WLAN everything works fine, which proves that username/password/... must be correct.
Today I was "on the road" and tried to fetch my mails via grps/hsdpa/whatever was available and it just won't work. I suddently get a "Synchronisierungsfehler" (I'm running a german ROM, in english it should be something like "synchronisation error") and a bubble tells me to check my proxy etc settings, but it seems that the phone doesn't even try to connect :-(
I deleted and recreated my eMail account a couple of times, trying all the different network connections but it just won't work.
If I run IE, it automatically connects over 3G and I'm able to browse the web. While connected and surfing through the www I'm still unable to download my mails with the same error message, although I'm definitely connected to the internet. As soons as I disconnet 3G and enable WLAN, I'm able to send and receive eMails (while surfing still works of course).
Any ideas what I'm doing wrong? Slowly but surely I'm going insane ;-)
Thanks,
Simpson
What's your mobile carrier? Maybe the provider is blocking the necessary port(s) which are used by POP3/SMTP/IMAP.
So in first instance you could try a different APN if there is one...
Thanks for the reply!
I'm on 3 (Austria) and the strange thing to me is that it aborts so quickly. When downloading my Mails via WLAN it says Connection, Logging in, ... but over GPRS, which should take longer i guess, within the very first second (REALLY withing the very first second), there is "Connection", "Synchronisationerror", so I'm wondering if the connection could be dropped that fast by my provider or if the phone isn't even trying :-(
Thanks again,
Simpson
I guess it could be the port thing I mentioned above.
When you're connected via wifi (i.e. at home) there is usually no specific port blocked. So you're able to receive emails without any issues. If you're connected via GPRS/EDGE/3G/... the provider is able to block an incoming traffic on specific ports. The whole procedure works like that (simplyfied): your mobile establishes a connection via GPRS (which seems to work since you can browse the internet via GPRS). Afterwards it tries to connect on port 110 (which is for POP3) to your inbox. I think there's the point where your provider comes into play. If this port is blocked there's no way for your mobile to reach the mail account.
edit:
Do you have the option to try fetching your mails with a different SIM card from a different provider? If so you should try that.
And yes... the connection can be dropped that fast.
Basti756 said:
I guess it could be the port thing I mentioned above.
When you're connected via wifi (i.e. at home) there is usually no specific port blocked. So you're able to receive emails without any issues. If you're connected via GPRS/EDGE/3G/... the provider is able to block an incoming traffic on specific ports. The whole procedure works like that (simplyfied): your mobile establishes a connection via GPRS (which seems to work since you can browse the internet via GPRS). Afterwards it tries to connect on port 110 (which is for POP3) to your inbox. I think there's the point where your provider comes into play. If this port is blocked there's no way for your mobile to reach the mail account.
edit:
Do you have the option to try fetching your mails with a different SIM card from a different provider? If so you should try that.
And yes... the connection can be dropped that fast.
Click to expand...
Click to collapse
I called 3 yesterday and they swore that the ports are NOT blocked. It must be possible to fetch mails from any provider.
Another funny thing is that if I configure my email account and try to automatically fetch the settings, the Kaiser connects via the same modem as if I would start IE and is able to fetch the settings!!! After finishing the configuration and trying to send/receive my mails, I get the same message again: Synchronisationsfehler bzw Überprüfen Sie Ihre DFÜ und Proxy Einstellungen.
Thanks to this great forum I unlocked my Kaiser with this cute All-in-one solution unlocker (donation will follow ;-) and tomorrow I'll try it with a different SIM card
Thanks again!
Greets,
Simpson
Well... if 3 doesn't block any ports... this whole thing doesn't get much easier
I suggest to take a look at your email provider settings (pop3 server, smtp server, login credentials). Maybe you have to use different settings when connecting via GPRS/3G.
I had a similar issue a couple of days ago with a Kaiser ( ), T-Mobile and T-Online. To keep things short... the login credentials have to be different when fetching mails via GPRS from T-Online.
So you should take a look at these settings. Especially at the server settings, since your device gives a connection error.
Well, I started messing aroung with this stuff on thusday. Today is sunday and.... It finally works!!!!!
Do you know what I did?
Well, after 4 days of fooling around I thought maybe I should try to reboot my Kaiser (Ein Reboot tut immer gut!) and after rebooting, without changing any account settings: Start -> Messaging -> Send/Receive -> AUTOMATICALLY dialing Planet3Modem -> You've got 2 new messages!
I'm so happy that it finally works, I don't even care why I didn't try a reboot earlier ;-)
Yippeee!!!!!! ))))
Thanks again for the help!
Greets,
Simpson
I'd never guessed that it would be that simple
Anyways... herzlichen Glückwunsch

anyone on O2 and using push email (exchange)?

I'm hoping that there are more peple than just me using the HD on O2 with push email via exchange.
If your set up is anything like mine then you will have two data connections.
O2 Active and Mobile Web.
I posted a few days ago about having problems sending MMS messages, which seems to be down to having both data connections active. I've always set my connetions (both of them) to 'always on' using schapps advanced config. I have found that this means my push email works flawlessly and I can access the web straight way as it's always connected.
The downside of course is that I can't send MMS (although strangley...sometimes it does work). So, in order to test, I have set the connections to 'enabled'. Doing this meant that I was able to send a test mms this morning, which failed 2 minutes earlier when both connections were set to 'always on'. this is a pain because you have to reset the phone after each change of connection status.
With my connections set to 'enabled', theoretically this would mean that the connections are only made whenever they are needed.
This means perhaps a slight delay when first using the web, as my phone has to connect to the web first.
My question, is that if the connection is only established when required, and then disconnects again. How is it going to know I have email waiting for me? How will it get pushed to my phone?
So, can anyone else who has the same setup, please let me know how they have set their connections up.
appreciate your help.

No file transfer via bluetooth... wtf?

Hey folks,
for some reason my HD2 isn't able to send files via bluetooth anymore.
I can receive files from another device but cannot send them.
Anyone facing the same problem?
Solution?
Thanks
Well...
Be mindful of the carrier your trying to send to. If your trying to send to a CDMA friend(especially music files)it may not go through because of the carrier restrictions. Also thoroughly check your bluetooth settings/Beam settings and your authentication system. Also try pairing.

Categories

Resources