Title: Send IP
Last modified: August 22, 2016

---

# Send IP

 *  Resolved [swamparoo](https://wordpress.org/support/users/swamparoo/)
 * (@swamparoo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/send-ip/)
 * There’s only one thing I noticed that I really needed in it but it didn’t have.
   When it would send an email it wouldn’t show the IP address of the sender. I 
   looked at the PHP code and it was relatively simple to add in.
 * If you open up the file simplesecure.php and scroll down to around line 238 you
   should see something like this:
 * `$body .= "Message: " . $message . "\n";`
 * At the end of that line press enter to create a new line and add this to that
   new line:
 * `$body .= "Sender IP: " . $_SERVER['REMOTE_ADDR'] . "\n";`
 * When you get emails it will now have something like:
 * IP Address: 192.168.0.1
 * [https://wordpress.org/plugins/simplesecure/](https://wordpress.org/plugins/simplesecure/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/send-ip/#post-5435235)
 * cool, thanks for the suggestion, I’ll put that into the next release
 *  Thread Starter [swamparoo](https://wordpress.org/support/users/swamparoo/)
 * (@swamparoo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/send-ip/#post-5435236)
 * You’re welcome. I did a typo in my example. Instead of IP Address: 192.168.0.1
   it should have been Sender IP: 192.168.0.1. For those that are adding the line
   manually (i.e. until the update) then whatever you put in quotes where it says“
   Sender IP: ” is what will show up in the email that’s sent out.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Send IP’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simplesecure_273541.svg)
 * [SimpleSecure](https://wordpress.org/plugins/simplesecure/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simplesecure/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simplesecure/)
 * [Active Topics](https://wordpress.org/support/plugin/simplesecure/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simplesecure/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simplesecure/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [swamparoo](https://wordpress.org/support/users/swamparoo/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/send-ip/#post-5435236)
 * Status: resolved