Solved

Get the default email of a user

Posted on 2002-06-26
7
148 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groovy example issue 10 97
vb6 connector to mongodb 2 82
Advice in Xamarin 21 79
Problem to refer to value 8 48
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

770 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