Solved

Get the default email of a user

Posted on 2002-06-26
7
146 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 69

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 69

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 69

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to event 3 78
VB6 - Compare and highlight cell not the same 3 43
VBA Shell can't Find Word document 11 76
Modifying Conditional Format from VBA code 3 49
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…
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.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now