You are here

function simplenews_valid_email_address in Simplenews 6.2

Simplenews email verification

Wrapper for supporting community modules

8 calls to simplenews_valid_email_address()
simplenews_admin_settings_newsletter_validate in includes/simplenews.admin.inc
simplenews_admin_types_form_validate in includes/simplenews.admin.inc
simplenews_block_form_validate in includes/simplenews.subscription.inc
simplenews_node_tab_send_form_validate in ./simplenews.module
Simplenews tab form validate callback
simplenews_subscriptions_admin_form_validate in includes/simplenews.subscription.inc
FAPI ADMIN subscription form_validate.

... See full list

File

./simplenews.module, line 2410
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_valid_email_address($email = '') {
  if (module_exists('email_verify')) {

    //Same validation as in email_verify.module on line 33
    return module_invoke('email_verify', 'check', $email);
  }
  return valid_email_address($email);
}