Is there any way to find out someone elses IP address/range? I want to block users of a rival company from accessing our site.

I heard you can do some kind of trick by sending them an email with a fake image in it, and then faking the http response and getting their IP (and other info). Is there any easier way?