• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

Get the default email of a user

I would like to get the default email(or all) address of the currently logged user.

I have a program that send a mail to me via the winsock control and i would like to put the email of the sender in the header to be able to reply to the message!

I would be able to get the address of any client email program.

Thank
0
powlin
Asked:
powlin
  • 4
  • 3
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
Have a look at the numeric hives under HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts in which you find "SMTP Email Address"
0
 
powlinAuthor Commented:
Is it a valid key for any email client ? for example eudora ?
0
 
Éric MoreauSenior .Net ConsultantCommented:
I cannot try it. I do not have access to a computer on which only Eudora is installed.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
powlinAuthor Commented:
i will try! thank
0
 
powlinAuthor Commented:
nope it dont work on other email client!

Does it have a way to get the email addresse using MAPI ?
0
 
Éric MoreauSenior .Net ConsultantCommented:
MAPI is not always correctly configured when using something else then Outlook!
0
 
powlinAuthor Commented:
I will accept since Microsoft is an evil monopolic empire huaeheau 90% or the users have outlook or outlook express :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now