Device email accounts - Windows Mobile Development and Hacking General

Please help,
I want to get the email addresses programatically out of the device (2003) and I don't have an account GUID. I do not want the address entered in "Owner Information".Perhaps this can be accomplished through MAPI, but it seems a lot of that is not implemented for CEMAPI. Or maybe the registry has it?
Any help would be appreciated,
Thanks,
Blair.

Related

Exchange server with invalid certificate

My company runs an exchange server that i can connect to via SLL on the web. However, I always got an invalid certificate message. On 2003 devices on ran certchk and i could synschronize my mail, calender and contacts.
Now - with my JJ - i can not get to my mail anymore because of this invalid certificate. I does not help to download the certificate to my device, since it is invalid.
Is there any reg hack, apps or whatever i can use to overcome this?
Thx
Ronaldovic,
Try exporting the root certificate from the Certificate Authority in "DER" format, copy it to the JJ and run it. This should work as the JJ is not certificate locked.
Ferg.
I did - and when i look in settings-certificates - it shows in the list of certificate but with an enddate of somewhere in 2003 (so it is not valid).
Again, with certchk in 2003 devices it all worked flawlessly.
Are the certificates still be the problem now? Or is it something else?
When i sync, i get an error: 0x80072F17
Ah sorry, I read your mail but didn't really read it and assumed I knew what you were saying.
If you can get a reg editor for the JJ (I use something called "Mobile Registry Editor" which is a PC-based app and works through ActiveSync), change DWORD Value under HKCU\Software\Microsoft\Activesync\Partners\[Secure] to 0 I gather this will do it.
On the point of the certi though, can you not get the CA to issue a new certificate to the Exch box? When connecting through SSL, ActiveSync doesn;t give you a "Yeah connect, I don't care!" dialog box as OWA does.
Ferg.
got a good reg editor, but can not find the last [secure] part...what do u mean by that? For example below ..\partners i see two entries(default) and (ServerNameChanged). and two directories with strange numbers.
About the certificate thing...if i understand u correctly i will never connect if i do not have a valid certificate?
I appreciate the help!!
YEAH!!! Great, got it working, thx to u!
I just love this forum.
Glad to hear it!
I am back....
The sync goes ok now, but every time i send a new mail, it gets send twice. In my outbox on the JJ there is one email, when i receive i see two coming in (exactly the same)
Any1?
i can get it to look like its working by turning off ssl. e.g. it says sycing 20/20 emails. However when i go to messages there are none there! Similarily contacts, tasks and calendar items appear to be syncing in active sync, but they just dont show up!
Hi,
I have run into the same problem.
Used the tips on changing the registry (for which I really thank you!!!).
However, it seemed working until I realize that my Treo 700w keeps asking for the password. No matter how many times I enter my password correctly, it just keeps asking the password over and over again. It does not save my password even if I select "save password" option.
Have you run into this problem and found any workaround?
Thanks in advance. Bo.
Boryu,
Remove and re-add the server source.
I've had this a few times and it's well annoying! This seems to do the trick though.
Ferg.
same issue
i have the same issue,
i used registry editor but its not allowing me to add the reg key!!
am i doing something wrong,, and were do i add the Secure Dword?
Why don't you just renew the certificate? Just right click the website folder within IIS 6.0 and select Properties. There is a security tab (Directory Security?) within which you can renew an existing certificate.
I had the same problem getting push email to work, and renewing the certificate fixed the problem.
Why don't you just renew the certificate? Just right click the website folder within IIS 6.0 and select Properties. There is a security tab (Directory Security?) within which you can renew an existing certificate.
I had the same problem getting push email to work, and renewing the certificate fixed the problem.
ronaldovic said:
got a good reg editor, but can not find the last [secure] part...what do u mean by that? For example below ..\partners i see two entries(default) and (ServerNameChanged). and two directories with strange numbers.
About the certificate thing...if i understand u correctly i will never connect if i do not have a valid certificate?
I appreciate the help!!
Click to expand...
Click to collapse
Hi i see exactly the same, but wich value do i have to change ??
please help
thanks in advance

Accessing Company Email

Quick question .. not sure if anyone can help or not.
My Company uses Xchange email and was wondering if there was a way to get this email pushed on to the phone first. I guess the main problem is that I am not sure if the company has pop enabled. Not really even sure what the incoming mail server and outgoing mail server are or where to find this information. Asking them really isnt an option... any thoughts?
This is the first thing that i tested with my Dopod. When it asked for servers, i just put in the web address to our Outlook Web Access site.
Hard reset after about 30 mins because my server enforced a 30min lock policy and i wasnt sure if i was allowed to hook my dopod upto the exchange server (we have strict policies about attaching non approved hardware to servers and or network)
Exchange servers don't use POP or SMTP, they use Exchange. So there are no 'incoming' or 'outgoing' mail server names.
Get your Exchange server address from your internal tech support group or your system administrator and go through the email account setup on your phone. You'll find one of the options early on is "Exchange Server".
You say that asking them for this info isn't an option, but it's the only way you're going to get this information. If you know where to look on your desktop, you can check your Outlook installation for the Exchange server name there. Otherwise, you're stuck having to ask someone.
If you just simply can't ask anyone, and can't find out on your own, it's a safe bet that your company doesn't want you to do this, and someone might get upset if you try.
i guess the real question here is. If I were to install the BBconnect 4.0 software on my phone; would this then allow me to access my company email on my Tytn?. The problem is that I am trying to get my company email on my Tytn without having to go to my corporate IT department and ask for official permission as they are idiots and say I do not have a need for this. Currently certain people have blackberry's in the company which they receive there email. From my point of view I could careless what they think I have a need for or dont. So in the end I am just trying to circumvent the IT department to achieve what I need. Any thoughts on how this could be done?
- Should also be noted that I have gone into my outlook settings on my Work PC; retrieved what is listed in there as the Microsoft Exchange server address and inputed this along with my netwrok id and password into my Tytn but when you do the Sync it does not work. I have also pinged the server address and inputed the IP# and tried that way unsucessfully as well ... any thoughts?
It's a pretty involved process. You will need to know the server addresss, user name and password and additionally an SSL certificate in order to get true push email. That's unless they use a big company like Verisign to provide SSL certificates. So you might have to talk to them...
First things first though.... Find out what the name of the exchange server is. You will also need a domain name. I'm sure you know what your username and password are.
NRGZ28 said:
It's a pretty involved process. You will need to know the server addresss, user name and password and additionally an SSL certificate in order to get true push email. That's unless they use a big company like Verisign to provide SSL certificates. So you might have to talk to them...
First things first though.... Find out what the name of the exchange server is. You will also need a domain name. I'm sure you know what your username and password are.
Click to expand...
Click to collapse
I have retrieved the domain name from going into the control panel and system icon and checked under computer name. So I know what the domain name is; I have also retrieved what is listed in the Microsoft Exchange Server address. However for some reason it still does not work; I am wondering if what is listed in the MES address field is only accessible if you are on the company internet and not an outside connection? - Thoughts?
If you retrieved that address from a computer on their internal network, than it's an "inside" address and it wont work on your phone. You need to figure out what the outside address is and it's pretty easy to do. It's usually "mail.blahblahcompanyname.com" or something like that.
Any thoughts on when the usual mail.blahblahcompanyname.com doesn't work? Any thoughts where one might find this information?
Yes. See above for my thoughts.
Pk2007 said:
Any thoughts on when the usual mail.blahblahcompanyname.com doesn't work? Any thoughts where one might find this information?
Click to expand...
Click to collapse
As mentioned by one of the posters above, the Outlook Web Access address is the best one to use to ensure that it is a valid routable host. You also mention that some of the other network users have blackberry devices. If your corporate IT guys are using Blackberry Enterprise Server, it may mean that Exchange Activesync is not enabled at the server end (or indeed that they are not using a late enough version of Exchange server) in which case, you will not be able to use it no matter what settings you have.
embeeowes said:
As mentioned by one of the posters above, the Outlook Web Access address is the best one to use to ensure that it is a valid routable host. You also mention that some of the other network users have blackberry devices. If your corporate IT guys are using Blackberry Enterprise Server, it may mean that Exchange Activesync is not enabled at the server end (or indeed that they are not using a late enough version of Exchange server) in which case, you will not be able to use it no matter what settings you have.
Click to expand...
Click to collapse
By Outlook Web Address; do you mean the website that you can visit to get your company email when you are away from the office?
Yes, try that address. Ours is https://blahblah.wahwah.com/exchange
If yours is also HTTPS you'll need the certificate. If it's a MAJOR provider like someone else posted, no worries, your device will handle it on its own. If it's a self-signed certificate, SOL.
pkley said:
Yes, try that address. Ours is https://blahblah.wahwah.com/exchange
If yours is also HTTPS you'll need the certificate. If it's a MAJOR provider like someone else posted, no worries, your device will handle it on its own. If it's a self-signed certificate, SOL.
Click to expand...
Click to collapse
Yeah I tried the web address that I login into my web mail when I am not in the office. However that does not seem to work either.
Thank you to all those who replied with useful information. Combined with the answers I received a little tinkering around; I was able to successfully accomplish what i was trying to do; which was receive company email without the involvement of the IT department.
computer misuse act
without sounding picky, you shouldnt be doing this unless you have explicit permission.
IT departments have specific policys in place to safeguard the data transmitted to mobile devices, and in this case, I doubt you know what these policies are and potentially opening up your corporate network for attack
all you have to do is call your IT department. Tell them you want to enable Outlook Mobile Access (OMA) on the server.
Once this is done, ask them for the Outlook Web Access (OWA) URL. Also, check to see if your server requires SSL or a domain (if you are unsure).
Once you're off the phone with IT, launch activesync on your ppc. press menu and choose "add server source"
enter your OWA address (without http:// or https://) and be sure to include " /exchange " without quotations at the end. press next. enter your outlook username. this is usually the same as your email before the @ symbol, however it can be different.
enter your password and then domain. ensure 'save password' is check. choose next
choose what you want to sync wirelessly , such as contacts, calendar, and task.
note: whatever you sync wirelessly will be deleted if you ever decide to stop using exchange activesycn
choose finish. the initial sync will begin. also, your company's security or it policy may force you to have a password on your phone. if so, you will be prompted during the initial sync to set up a password.
if you need any more help, let me know..

Configure Exchange Server through XML Provisioning

Hello.
I have been looking for a way to configure the device with a single CAB or CPF file to sync with an Exchange server but I have a problem setting to sync Tasks.
Until now I figured out how to set up all the necessary settings, like server address, certificates and schedule but I can not set up Tasks to sync, I always have to set up by hand, that's because the settings for Tasks are specific for every device and I can not find how to autoconfigure it.
I have read many times the msdn here and here but can not figure out how to do.
Anyone can guide me how to accomplish with it???
Thanks in advance.

Customize the E-Mail Setup flow in Wm 6.5

Hi,
I am trying to understand if there is a way to customize the E-Mail setup flow in WM 6.5 (and 6.1), in particular removing the step where the device is trying to check for email settings on the web. The option/step I am trying to remove is called "Try to get e-mail settings automatically from the Internet" and it appears immediately after you enter the email address and password.
Does anyone know if it would be possible to remove this step from the process and force the client to just look in the local database of email accounts? I found this check useless anyway
Thank you in advance
MT

Multiple smtp email addresses in Outlook

Hi,
I have a strange problem with the config of Outlook on my Windows Mobile 6.5 which I hope someone might be able to offer some help with. This is on a HTC HD2 with standard ROM, v 1.48.405.2 (71294) WWE.
I have configured it to connect with our work Exchange Server, and all is well, except for the "from" email address. On our exchange server I have several smtp email addresses associated with my account, for example:
[email protected] ; [email protected] ; [email protected] (a total of 5).
My main address is [email protected], but for some reason when I go to send an email from my mobile device the from address is [email protected], and I cannot find any way to change this.
I checked the device registry and found an entry:
HKEY_CURRENT_USER\Software\Microsoft\ActiveSync\Partners\{xxxx}\EmailAddresses
The contents of this entry showed all my smtp addresses, and had my main address as the final entry, and [email protected] as the first entry. So, I thought it's worth a try to swap them around - I did this, and did a soft reset, but the problem still persists.
Has anyone any suggestions ? Any help appreciated.
(Hope I explained this clearly).
Regards, Jon.
Resolved - using correct default smtp address now
Managed to resolve this, in case anyone is curious / has similar problems. I cannot be 100% sure which action resulted in it working, but I did the following:
- had our IT admin delete then re-add the smtp email addresses to my account, ensuring correct one was marked as default / primary
- deleted the Outlook account from my HD2.
- Created the Outlook account as new on my HD2 (I did this on the phone itself whereas last time I created using Windows Mobile Device Center)
It picked up the correct default email address immediately, and checking registry (location in original post), only the default email address is shown now. Previously all smtp email addresses were listed.
I am suspicious of creating the Outlook account in Windows Mobile Device Center as causing the problem in the first place - my Exchange Server account was previously working fine with a Touch Pro. But cannot be 100% sure without going back and retrying, which as I have it working, I am not going to do at the moment.
Anyway, I shall stop replying / talking to myself now.
Jon.
I have the same problem..
How is it possible to change the adress which you want to use for sending the email?
My Exchange pushes all incoming Emails I receive from different accounts, but sometimes it would be fine to answer with the right Email account.. But I found no solution yet..
Any news from your side jh9957?
Thanks and Regards,
MS

Categories

Resources