Article View: borland.public.cppbuilder.nativeapi
Article #6407Re: Getting the user's email addres
From: Jeff
Date: Fri, 13 May 2005 20:31
Date: Fri, 13 May 2005 20:31
29 lines
2171 bytes
2171 bytes
Thanks. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:4284f812@newsgroups.borland.com... > > "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:
<42850ea3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4284b811@newsgroups.borland.com> <4284f812@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: "Jeff" <Jeff@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4284b811@newsgroups.borland.com> <4284f812@newsgroups.borland.com> Subject: Re: Getting the user's email addres Date: Fri, 13 May 2005 14:31:35 -0600 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 NNTP-Posting-Host: 198.68.195.59 Message-ID: <42850ea3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1116016291 198.68.195.59 (13 May 2005 13:31:31 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail