Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 157
  • 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
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!

 
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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