dillongoh / pe

0 stars 0 forks source link

Add allows invalid email #4

Open dillongoh opened 1 year ago

dillongoh commented 1 year ago

There was some validation done for the email. However, I was able to add a client with an invalid format as shown below.

image.png

nus-se-script commented 1 year ago

Team's Response

Emails can be valid without an extension.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: I do not know any email that is valid without an extension. Trying to write an email on gmail without an extension will raise an error message from gmail stating it is not recognized

image.png

Although this may not be a 100% reliable source as I am unable to find a concrete answer on whether email addresses can exist without an extension, I believe if Gmail refuses to send an email to such an address it is likely to be invalid.