How to add subscriber's IP address to acknowledgement email

When someone subscribes to my list, an email is generated and sent to me as the admin notifying me of the new subscriber details. This is automatic.

We get a lot of spammers trying to sign up who do not verify their email address. I suspect they are all originating from one or a limited number if IP addresses.

Is there a way to add the subscriber’s IP address to the email sent to admins notifying of a new subscriber? If I get the IP I can block them at the server level and life gets easier.

This works great when using formmail, but I can’t find a way to make this work in PHPList.
…bracket input type=“hidden” name=“env_report” value=“REMOTE_HOST,REMOTE_ADDR,REMOTE_USER,remote_ip” …bracket

Any ideas are appreciated!

@robertk1 You can see the IP addresses used for subscriptions using the Subscriber History page of the Subscribers plugin.

Thanks! I didn’t know about that place.