Solved

Get the default email of a user

Posted on 2002-06-26
7
152 Views
Last Modified: 2013-11-13
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
Comment
Question by:powlin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 100 total points
ID: 7110124
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
 
LVL 1

Author Comment

by:powlin
ID: 7111260
Is it a valid key for any email client ? for example eudora ?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7111430
I cannot try it. I do not have access to a computer on which only Eudora is installed.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:powlin
ID: 7111574
i will try! thank
0
 
LVL 1

Author Comment

by:powlin
ID: 7111598
nope it dont work on other email client!

Does it have a way to get the email addresse using MAPI ?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7111649
MAPI is not always correctly configured when using something else then Outlook!
0
 
LVL 1

Author Comment

by:powlin
ID: 7111653
I will accept since Microsoft is an evil monopolic empire huaeheau 90% or the users have outlook or outlook express :)
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question