WordPress.org

Ready to get started?Download WordPress

Forums

"Contact Form 7" - Show IP ? (8 posts)

  1. submo6
    Member
    Posted 5 years ago #

    I recently got the "Contact Form 7" plugin working on my site, and I was wanting to know if there was a way to capture the IP of the sender in the email sent?

    Is this even possible for it to show the IP address of the person who sent the form?

  2. bagfull
    Member
    Posted 5 years ago #

    Looking for the same solution. Want to show the IP in the message from where the message was posted.

  3. Takayuki Miyoshi
    Member
    Posted 5 years ago #

    Insert [wpcf7.remote_ip] into your Mail - Message body textarea.

  4. leonmckee
    Member
    Posted 5 years ago #

    > Insert [wpcf7.remote_ip] into your Mail - Message body textarea.

    Works. Thanks!

    Leon McKee

  5. J-Reese
    Member
    Posted 4 years ago #

    Excellent. This is just what I was looking for.

  6. n2fisher
    Member
    Posted 4 years ago #

    Is there a list of other items like this that can be inserted in the message body textarea that would be useful?

  7. optimist7
    Member
    Posted 4 years ago #

    Insert [wpcf7.remote_ip] into your Mail - Message body textarea.

    Thanks takayukister! You're the king :) Can you tell us some more tips on what we can insert in that form? Can we catch host names as well?

  8. VinceSamios
    Member
    Posted 4 years ago #

    I wrote a post about adding IP addresses into CF7, as well as date, time, source page etc. I provided a solution to adding the IP address to CF7 v 1.9.3 back in the day.

    Contact Form 7 - IP Address, Time and Date, Source Page URL

    Might interest a few people?

Topic Closed

This topic has been closed to new replies.

About this Topic