Find the smtp address

Lanc1988

Well-known member
Joined
Nov 27, 2003
Messages
508
I need code that will find the smtp address on the computer.

I need this code for a submit form I have in my program.
 
The only way you will get the e-mail address of a user is to ask them for it and hope they enter the correct one. There isnt really the concept of a smtp address being associated with a computer - they are associated with individuals and anybody can have multiple e-mails if they desire.
 
EMail Adx

What you can do is retrieve the domain and login name currently associated with the desired machine, then (if you have rights) access the GAL to return the set of values (usually only one, but there could be more) associated with the domain/login pair. I do something similar to this, looping through ADSI for computers, returning loginname, IP adx, and MACID. This allows me to send tailored email to the end users, pointing them to a little web app where I collect non-discoverable network information.
 
Back
Top