Verify a single email address.
        :param str email: Email address to verify.
        :return: A VerifiedEmail object.
559256
def verify(self, email):
        
        resp = self._call(endpoint='single', data={'email': email})
        return VerifiedEmail(email, resp['result'])
1238305
public static boolean isValidEmailAddress(final String email) {
    if (email == null) {
      return false;
    }

    boolean result = true;
    try {
      final InternetAddress emailAddr = new InternetAddress(email);
      emailAddr.validate();
    } catch (final AddressException ex) {
      result = false;
    }
    return result;
  }
1333356
def CheckEmails(self, checkTypo=False, fillWrong=True):
        ''''''
        self.wrong_emails = []
        for email in self.emails:
            if self.CheckEmail(email, checkTypo) is False:
                self.wrong_emails.append(email)
792514
public function verifyEmail($email)
    {
        $path = 'users/verify_email';
        $request =  $this->_remoteServer->get($path);
        $request->getQuery()->set('email', $email);
        $response = $request->send();
        return $response->getBody('true');
    }
760871
def get_user_id_from_email(self, email):
        
        accts = self.get_all_user_accounts()

        for acct in accts:
            if acct['email'] == email:
                return acct['id']
        return None
674079
def encrypt_email(email):
    
    aes = SimpleAES(flask.current_app.config["AES_KEY"])
    return aes.encrypt(email)
776027
def verify_message(address, message, signature):
    
    bitcoin_message = BitcoinMessage(message)
    verified = VerifyMessage(address, bitcoin_message, signature)
    return verified
951730
def confirm_email(self, request, email_address):
        
        email_address.verified = True
        email_address.set_as_primary(conditional=True)
        email_address.save()
17167
def get_contact_by_email(self, email):
        
        if not email:
            return None

        email = email.strip()
        query = self.q().any(collection='email_addresses', attribute='address',
                             word=email, operation='eq')
        contacts = self.get_contacts(limit=1, query=query)
        return contacts[0] if contacts else None
969764
def clean_email(self):
        
        if EMAIL_CONFIRMATION:
            from .models import EmailAddress
            condition = EmailAddress.objects.filter(
                email__iexact=self.cleaned_data["email"],
                verified=True
            ).count() == 0
        else:
            condition = User.objects.get(
                email__iexact=self.cleaned_data["email"],
                is_active=True
            ).count() == 0

        if condition is True:
            raise forms.ValidationError(
                _("Email address not verified for any user account")
            )
        return self.cleaned_data["email"]
323594
def email_type(arg):
	""""""
	if not is_valid_email_address(arg):
		raise argparse.ArgumentTypeError("{0} is not a valid email address".format(repr(arg)))
	return arg
878832
def get_by_email(cls, email):
        
        return cls.query().filter(cls.email == email).first()
319849
def email(self, name, to, from_addr, subject, body, header, owner=None, **kwargs):
        
        return Email(self.tcex, name, to, from_addr, subject, body, header, owner=owner, **kwargs)
1130767
def findUserByEmail(email)
      method = 'findUser'
      type = User
      args = {:email=>email}
      return_object type,method,args
    end
1296941
def get_user_by_email(self, email):
        
        results = self.get_users(filter='email eq "%s"' % (email))
        if results['totalResults'] == 0:
            logging.warning("Found no matches for given email.")
            return
        elif results['totalResults'] > 1:
            logging.warning("Found %s matches for email %s" %
                (results['totalResults'], email))

        return results['resources'][0]
53456
def user_has_email(username):
    
    user = api.user.get(username=username)
    if not user.getProperty("email"):
        msg = _(
            "This user doesn't have an email associated "
            "with their account."
        )
        raise Invalid(msg)

    return True
550235
def validate_email(email):
    
    from django.core.validators import validate_email
    from django.core.exceptions import ValidationError
    try:
        validate_email(email)
        return True
    except ValidationError:
        return False