Solved

Get the default email of a user

Posted on 2002-06-26
7
149 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
  • 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

856 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