code: def validate_email_with_name(value):
      
      value = force_text(value)
  
      recipient = value
      if '<' and '>' in value:
          start = value.find('<') + 1
          end = value.find('>')
          if start < end:
              recipient = value[start:end]
  
      validate_email(recipient)
docs: Validate email address.
  
      Both "Recipient Name <email@example.com>" and "email@example.com" are valid.