function valid_email_address

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 common.inc valid_email_address($mail)
cle7 common.inc valid_email_address($mail)
elmsmedia7 common.inc valid_email_address($mail)
icor7 common.inc valid_email_address($mail)
meedjum_blog7 common.inc valid_email_address($mail)
mooc7 common.inc valid_email_address($mail)

Verifies the syntax of the given e-mail address.

This uses the PHP e-mail validation filter.

Parameters

$mail: A string containing an e-mail address.

Return value

TRUE if the address is in a valid format.

Related topics

12 calls to valid_email_address()
backup_migrate_destination_email::settings_form_validate in sites/all/modules/ulmus/backup_migrate/includes/destinations.email.inc
Validate the configuration form. Make sure the email address is valid.
comment_form_validate in modules/comment/comment.module
Validate comment form submissions.
contact_category_edit_form_validate in modules/contact/contact.admin.inc
Form validation handler for contact_category_edit_form().
contact_personal_form_validate in modules/contact/contact.pages.inc
Form validation handler for contact_personal_form().
contact_site_form_validate in modules/contact/contact.pages.inc
Form validation handler for contact_site_form().

... See full list

2 string references to 'valid_email_address'
entity_metadata_comment_entity_property_info in sites/all/modules/ulmus/entity/modules/comment.info.inc
Implements hook_entity_property_info() on top of comment module.
entity_metadata_user_entity_property_info in sites/all/modules/ulmus/entity/modules/user.info.inc
Implements hook_entity_property_info() on top of user module.

File

includes/common.inc, line 1186
Common functions that many Drupal modules will need to reference.

Code

function valid_email_address($mail) {
  return (bool) filter_var($mail, FILTER_VALIDATE_EMAIL);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.