Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters · mod_email_status
  • Reference
  • Frontend developer
  • Email
  • Template filter
  • Validate

is_valid_email

Module

mod_email_status

Test whether a value has valid email-address syntax.

Empty values and values of another type return false. This filter checks syntax only; it does not verify that the address or domain exists.

For example:

{% if email|is_valid_email %}
    The address has valid syntax.
{% endif %}

Edit on GitHub

Related documentation

Filters

is_letsencrypt_valid_hostname

Test if a hostname can be used for a Let’s Encrypt certificate.

Filters

normalize_email

Normalize an email address, used in the identity management.

Validators

email_unique

Check if an entered e-mail address is unique by querying model#identity for the email key:

Filters

gravatar_code

Calculate the gravatar code for an e-mail address:

Validators

email

Check if the content of the input field is an e-mail address.

Filters

filter_exchange_rates

Look up a rate or convert a numeric amount with mod_exchange_rates .

Filters

humanize_identifier

Convert an underscore-separated identifier to a readable label.

Filters

development_filename

Format a source filename for display in development tools. Resolves symbolic links in both files and parent directories, then removes the…

Filters

filter_geomap_distance

Calculate the great-circle distance between two locations in kilometers.

GitHub © 2026 Zotonic