How to remove lines from DJ-EasyContact email
If you want to hide part of the email that originally is sent via DJ-EasyContact, you need to make changes in the module's code. This is how the original email look like:
![](/templates/yootheme/cache/fb/dj-easycontact_mail1-fb8faddf.png)
To change email contents, go to:
/modules/mod_dj_easy_contact/
and edit the helper.php. It's recommended to make a backup of this file before making any changes.
- Remove User IP by changing line 175 (or in line 183 if option Email in Form is disabled) - just remove this code:
"\n\n" . $user_ip .
![](/templates/yootheme/cache/61/dj-easycontact_mail2-61ccd16d.png)
- Remove Browser Type by changing line 178 (or in line 186 if option Email in Form is disabled) - just remove this code:
$browserType . "\n\n" .
![](/templates/yootheme/cache/a8/dj-easycontact_mail3-a8e2054a.png)
- Remove Browser Version by changing line 178 (or in line 186 if option Email in Form is disabled) - just remove this code:
$browserVersion . "\n\n" .
![](/templates/yootheme/cache/61/dj-easycontact_mail4-61b2c03d.png)
- Remove Full Agent String by changing line 178 (or in line 186 if option Email in Form is disabled) - just remove this code:
. $full_agent_string . "\n\n"
![](/templates/yootheme/cache/17/dj-easycontact_mail5-17c82b98.png)