Contact Form 7
[resolved] Can form send IP address of submitter? (4 posts)

  1. mcbsys
    Posted 5 years ago #

    Contact Form 7 version 2.2.1 is working fine. However I'd like to see the IP address of the person submitting the form--that would help to determine when it is spam. Is this possible?


    Mark Berry


  2. Takayuki Miyoshi
    Plugin Author

    Posted 5 years ago #

    Use [_remote_ip] in your mail.

    Special Mail Tags

  3. mcbsys
    Posted 5 years ago #

    Excellent, thank you. I've added the following to my email footer:

    Sender IP: [_remote_ip]
    Whois    : http://ws.arin.net/cgi-bin/whois.pl?queryinput=[_remote_ip]
    Location : http://www.ip2location.com/[_remote_ip]

    This forum seems to strip out the [brackets] in the URLs so put them back in if you copy that code.

  4. ceguito
    Posted 5 years ago #

    Wao! You guys save my day. What a great post. This would help us a lot to keep spam and clowns at minimum.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic