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

filter_payment_is_valid

Test if an amount and currency can be used for a payment request.

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

mailinglist_delivery_detail

Extract the SMTP diagnostic from legacy {bounce, <<"...">>} and related mailing-run details, including nested errors and missing…

Filters

admin_menu_items

Flatten admin dropdown subgroups into headings and links, with separators around groups. Remove leading, trailing and consecutive…

Filters

filter_payment_currency_symbol

Show a payment currency using its preferred symbol or short form.

GitHub © 2026 Zotonic