Hi,
FormMail doesn't provide the environment variables (like REMOTE_ADDR) in a usable form, but you can include them in the email as a list by using the "env_report" feature.
However, that doesn't get them into the CSV file.
We do have plans to provide the enviroment variables to the CSV file and templates as variables.
Until then, you could convert your form to a PHP script and get the IP address that way:
- Rename your form.htm to form.php
- Add a hidden field to your form like this:
Code:<input type="hidden" name="ipaddress" value="<?php echo getenv('REMOTE_ADDR'); ?>" />
Bookmarks