Results 1 to 4 of 4

Thread: Sending internet IP via email?

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    9

    Sending internet IP via email?

    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?

  2. #2
    Lively Member
    Join Date
    Jan 2001
    Posts
    72

    to get the IP address

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    9

    Thanks, but...

    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?

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Just send an email. The apparent IP address should automatically be added to the mail headers by the first SMTP server they connect to.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width