MCPcopy Index your code
hub / github.com/coffinxp/RFC822-Email-Validator

github.com/coffinxp/RFC822-Email-Validator @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1 symbols 7 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

RFC822 Email Validator

A simple, offline Python tool for validating email addresses against the RFC822 standard. Perfect for quick checks, integration into scripts, or security testing of email input fields.

Features

  • RFC822-compliant: Uses a regular expression closely matching the RFC822 specification.
  • Offline: No network connection required.
  • Easy to use: Just run the script and enter an email address.
  • Security Testing: Useful for testing input validation, including XSS payloads.

Usage

  1. Clone the repository or download the script: git https://github.com/coffinxp/RFC822-Email-Validator.git) cd RFC822-Email-Validator

  2. Run the script: python3 rfc822_email_validator.py

  3. Enter the email address you want to validate when prompted.

  4. Result: The script will print "RFC822 valid: YES" if the email is valid, or "RFC822 valid: NO" if not.

Example

$ python3 rfc822_email_validator.py Enter email address: test@example.com RFC822 valid: YES

$ python3 rfc822_email_validator.py Enter email address: ">@test.com RFC822 valid: NO

Screenshot (1397)

Security Testing

You can use this tool to test how your application handles potentially malicious email input, such as XSS payloads. Example payloads to try: - ">@test.com - ">@test.com - ">"@x.y

Requirements

  • Python 3.x

Inspired by the classic RFC822 email validation tools and designed for modern security testing workflows.

Core symbols most depended-on inside this repo

is_rfc822_valid
called by 1
rfc822_email_validator.py

Shape

Function 1

Languages

Python100%

Modules by API surface

rfc822_email_validator.py1 symbols

For agents

$ claude mcp add RFC822-Email-Validator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page