WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mcbsys
    Member
    Posted 3 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?

    Thanks,

    Mark Berry

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    Use [_remote_ip] in your mail.

    Special Mail Tags

  3. mcbsys
    Member
    Posted 3 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
    Member
    Posted 3 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

About this Topic