Advertising sustains the DA. Ads are hidden for members. Join today

SpamSpan and the Email Field module

Last updated on
30 April 2025

SpamSpan, https://www.drupal.org/project/spamspan, works with the Email Field module to provide modified email fields for use in content and Views.

Set up and configure Spamspan. Make sure SpamSpan works as a filter.

Set up and configure the Email Field module, https://www.drupal.org/project/email. Test the Email Field module by adding an email field to a content type.

When both modules are working by themselves, connect SpamSpan to an email field.

  1. Create a test content type named Email Field test.
  2. Save the content type.
  3. Add a field named Email Field. Use Field Type of Email.
  4. Select the Manage Display tab.
  5. Select the Format drop down selection list for Email Field.
  6. Select Email SpamSpan in the Format drop down selection list.
  7. Save the change.

Test the result by creating content of type Email Field. Add email address, display the content. Test addresses of different formats.

The email field type is included in the Drupal 8 core. The future of the Email Field module is not yet decided.

Help improve this page

Page status: Not set

You can: