🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6406

Re: Getting the user's email addres

#6406
From: Remy Lebeau (TeamB)
Date: Fri, 13 May 2005 19:01
21 lines
1725 bytes
"Jeff" <Jeff@nospam.com> wrote in message
news:4284f5ee$1@newsgroups.borland.com...

> I was just hoping to find a way to make it "fool-proof" for the user.

There's pretty much no such thing ;-)

> Since we're all in the same domain, we each have an email address.

The only other possibility to consider, other than what has already been
stated, is if each user has a network login username that is the same
mailbox name of their email addresses, and if the machine is logging into a
network server that has the same domain as the email server.  For example,
if "joe" logs into network "smoe.com" and has an email address of
"joe@smoe.com", then you can use GetUserName() to find out who is currently
logged into the machine, and LookupAccountName() to get the domain that the
machine belongs to.


Gambit
Technical Details
Message-ID: <4284f959@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4284b811@newsgroups.borland.com> <8vq981tnp9dcsbn2i31olqbphpnaemjo23@4ax.com> <4284f5ee$1@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> <8vq981tnp9dcsbn2i31olqbphpnaemjo23@4ax.com> <4284f5ee$1@newsgroups.borland.com>
Subject: Re: Getting the user's email addres
Date: Fri, 13 May 2005 12:01:34 -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: <4284f959@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1116010841 68.69.17.41 (13 May 2005 12:00:41 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail