How do I go about getting a user's internet IP address as a string then sending it via their default email address to my own?
Printable View
How do I go about getting a user's internet IP address as a string then sending it via their default email address to my own?
You can use this to get the IP address
strIP = Request.ServerVariables("REMOTE_ADDR")
Sorry, I don't quite understand the rest of your problem.
Thanks!
ttlai
I did read that same bit of code and I do not quite understand it. What type of control do I use for the request?
Just send an email. The apparent IP address should automatically be added to the mail headers by the first SMTP server they connect to.