[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

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