Capture the IP address on the Contact Form

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Does nopCommerce capture the IP address when a person uses the contact form included with nopCommerce 3.80?
7 years ago
nopCommerce always captures the IP address of users. If you go to admin and view a user, you'll see it's IP Address. :)
7 years ago
(But you won't be able to correlate the received email with a user if it's a Guest ;)
7 years ago
New York wrote:
(But you won't be able to correlate the received email with a user if it's a Guest ;)


Exactly.  I'm receiving some spam through the contact form and I want to know which IP it's coming from.
7 years ago
It will need customization.  Alternately, if you have access to the IIS logs, you could get the IPs for the contactus URL.  The Customer table has a LastIpAddress, so you could also get IPs there for Guests, but you would not know which ones sent a Contact Us.
7 years ago
Interesting. I'll look into it further.  Thanks for your suggestion.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.