Smartphone Thoughts - Daily News, Views, Rants and Raves

Be sure to register in our forums! Share your opinions, help others, and enter our contests.





Go Back   Thoughts Media Forums > SMARTPHONE THOUGHTS > Smartphone Developer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2006, 08:34 AM
Neophyte
Join Date: Mar 2006
Posts: 9
Default how to get mail accounts

Hi

i'm developing an application which runs on microsoft smartphone 2003, i need to get the email accounts that are configured on the smartphone, and i also need to know outgoing mail server ?
can anyone tell me how to do this ?
i'm using vs2003 with c#.net.

Its very urgent for me.

Thanx in advnce
Jyothi
 
Reply With Quote
  #2 (permalink)  
Old 03-28-2006, 02:33 PM
Editor Emeritus
Mike Temporale's Avatar
Join Date: Aug 2006
Posts: 11,180

I would guess that information would be in the registry. Have you checked there?
__________________
"I have no special talents, I am only passionately curious" - Albert Einstein
 
Reply With Quote
  #3 (permalink)  
Old 03-29-2006, 02:50 PM
Neophyte
Join Date: Mar 2006
Posts: 9

i'dont have device and i've emulator to tset the application.

can you tell me in regisrty which entries i've to search for configured mail accounts if you know?

thanx
jyothi
 
Reply With Quote
  #4 (permalink)  
Old 03-30-2006, 07:54 AM
Ponderer
Join Date: Nov 2004
Posts: 59

You should probably be looking at the MAPI (Mail API). I've briefly tried working with it, and I need to revisit it, but it will let you loop through all the accounts on the phone (SMS, MMS, ActiveSync, + any user created email accounts). I'm not sure how to do it in managed code... but I would suspect it's a bit easier than the native code that I was playing with.
 
Reply With Quote
  #5 (permalink)  
Old 03-31-2006, 09:55 AM
Neophyte
Join Date: Mar 2006
Posts: 9

Hi Snoz

can you provide code in the language you have written.

i'll try to convert that into managed code.

its very very urgent for me.


thanx
Jyothi
 
Reply With Quote
  #6 (permalink)  
Old 03-31-2006, 05:05 PM
Ponderer
Join Date: Nov 2004
Posts: 59

I think it was these MSDN articles that I was following and copying code from:
http://msdn.microsoft.com/library/en...l/ppc_2002.asp
http://msdn.microsoft.com/library/en..._2002part2.asp
http://msdn.microsoft.com/library/en..._2002part3.asp

Here is another article:
http://msdn.microsoft.com/library/de...dingE-mail.asp
 
Reply With Quote
  #7 (permalink)  
Old 04-01-2006, 07:43 PM
Ponderer
Join Date: Nov 2004
Posts: 59

Saw a post on MoDaCo (where you also posted this question) which linked to a blog. This looks like it could help you:
http://windowsmobilepro.blogspot.com...uery-mail.html
 
Reply With Quote
  #8 (permalink)  
Old 04-03-2006, 10:22 AM
Neophyte
Join Date: Mar 2006
Posts: 9

Hi snoz

thank you .

the link
http://windowsmobilepro.blogspot.com...uery-mail.html

is very useful for us. but we need the same functionality in c#.net.

if you find any such articles please post here.

we will try to implement that in c#.net.
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:28 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7