Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can i detect the senders email

Status
Not open for further replies.

tango1948

Programmer
Dec 23, 2006
111
IL
Hi,
Using MailMessage to send email can I detect the senders default email address for MailMessage.From without the sender having to enter it?
 
When the user sends an email using his email provider he doesnt need to enter his email address, so I was wondering if he sends an email thru an app. using the MailMessage if its possible to get the address from his email provider
 
.net has alot of functions for interogating the clients system - checking which operating system or if a file exists for example, so I thought that the mailmessage function might include the possibility of retrieving the senders address.
Thanks for your time

David
 
.net has alot of functions for interogating the clients system - checking which operating system or if a file exists for example
Really? In an web application that runs server side code (such as ASP.NET), any code you run will check the server, not the client so "checking which operating system or if a file exists" will not check the user's machine.

I'm not sure where you think this email address is going to appear from - if I visit your website how could you possibly know my email address unless I had told you what it was?


------------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
 
OK I understand excuse my ignorance I stand corrected thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top