I wouldn't even bother. It's a minor thing to have them type in the
address, and getting it on the client side (which is what you would have to
do, not on the server side), would require too much setup.
You would first have to get the user to lower their security
requirements to run your code so you can snoop around their computer.
On top of that, you would have to write code for three/four different
sources:
Outlook
Outlook Express
Thunderbird (is this what it is called)
Active Directory
How would you know which email to use if there are multiple addresses?
In the end, it is better to let the user decide.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
<ki*************@consultant.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Im currently trying to create this web application that allows the user
to place a help desk ticket. The problem that Im having is that
instead of having the user place their email address in a text box I
wanted to be able to get the users email address by code. Is this
possible? Ive tired using the active directory but have encounter
problems, was wondering if there is another way of getting the users
email address maybe sometype of code getting it from Outlook.