473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Aquiring Email Address

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.

Jan 12 '06 #1
6 1256
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.

Jan 12 '06 #2
Hi Nicholas
Thanks for the response. Yes your right it would be easier to just let
the user type in their email address but is there anyway to automate
this. All users are currently using Outlook 2003 is there any way
based off the users ID from logging in off the computer I can pull up
their email address from the Exchange Server?
Thanks

Jan 12 '06 #3
There is, but the security requirements make this REALLY prohibitive,
since you can't run your own code by default. It would be more difficult to
get them to actually make the client adjustments than to have them type in
their email address.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<ki*************@consultant.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi Nicholas
Thanks for the response. Yes your right it would be easier to just let
the user type in their email address but is there anyway to automate
this. All users are currently using Outlook 2003 is there any way
based off the users ID from logging in off the computer I can pull up
their email address from the Exchange Server?
Thanks

Jan 12 '06 #4
Nicholas Paldino [.NET/C# MVP] wrote:
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


In addition, don't forget people like me who don't even _have_ a
"proper" email address. (mine is sdcoonce at gmail.com)

Scott
Jan 12 '06 #5

<ki*************@consultant.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
| Hi Nicholas
| Thanks for the response. Yes your right it would be easier to just let
| the user type in their email address but is there anyway to automate
| this. All users are currently using Outlook 2003 is there any way
| based off the users ID from logging in off the computer I can pull up
| their email address from the Exchange Server?
| Thanks
|

Sure there is, all you need to do is use DirectoryServices to query the
users mail address from the AD, note that this requires your Exchange server
to be integrated with the AD, else you have to bind to the Exchange
directory.

Willy.
Jan 12 '06 #6
Hi,

Do your users have the same username part of the email like the windows
login?
You could use that to autogenerate the email address.

Otherwise , I'm sure that all of them share the same domain , so the textbox
could only include the username part of the email
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<ki*************@consultant.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi Nicholas
Thanks for the response. Yes your right it would be easier to just let
the user type in their email address but is there anyway to automate
this. All users are currently using Outlook 2003 is there any way
based off the users ID from logging in off the computer I can pull up
their email address from the Exchange Server?
Thanks

Jan 12 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dmiller23462 | last post by:
So here's my problem.....I need to set up different email distributions based on which option in the following Select form has been chosen....For instance if "Putaway" is chosen it needs to email...
117
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
8
by: needhelp | last post by:
Hi there, I really need some help, everything I've tried, all I've found, doesn't seem to work. I have lost an email address which is very important to me. I really need to contact that person...
1
by: saravanatmm | last post by:
I need javascript code for validate the email address. Email address field cannot allowed the capital letters, special characters except '@' symbol. But can allowed the small letters, numeric...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.