Skip to content

Bug: Email can be longer than 50 characters #8

Description

@jeronkk

Description

Based on RFC 5321 – Section 4.5.3.1.3, email length can be a total of up to 254 characters (excluding 2 characters <> in SMTP envelope).

Part Max Length
Local Part 64 chars
@ Symbol 1 char
Domain Part 189 chars
Total 254 chars max

Steps to reproduce

  1. Enter the below command.
add n/Bernice Tan p/98765432 e/bernice_tan_1234567889_long_email_test_123456789@company.org j/Data Analyst s/Screening a/456 Bukit Timah Rd
  1. The error message Email cannot exceed 50 characters. will show.

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions