Article View: borland.public.cppbuilder.nativeapi
Article #6403Re: Getting the user's email addres
From: Remy Lebeau (TeamB)
Date: Fri, 13 May 2005 18:56
Date: Fri, 13 May 2005 18:56
22 lines
1795 bytes
1795 bytes
"Jeff" <Jeff@nospam.com> wrote in message news:4284b811@newsgroups.borland.com... > Does anyone know what the best way to get a logged in user's email > address would be? I've got a machine in a Windows domain which > people log into, and I'd like to find out the currently logged in user's > email address. There is no standard way to do what you ask. The email address is not stored by the OS anywhere, and any email program(s) that the user may be using will store the email address differently than every other email program. Every program is different. You would have to look at the specific settings of each individual program that you want to support (Outlook, Eudora, Netscape, etc), figure out which one is actually installed on the machine, figure out where the settings are stored, extract it manually, etc. You are better off just asking the user what his/her email address is. Gambit
Technical Details
Message-ID:
<4284f812@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4284b811@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,74830bd3beadefb5 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4284b811@newsgroups.borland.com> Subject: Re: Getting the user's email addres Date: Fri, 13 May 2005 11:56:11 -0700 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4284f812@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1116010514 68.69.17.41 (13 May 2005 11:55:14 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail