City-of-Bloomington / open311-nodejs

A citizen facing Open311 client written in Node
1 stars 2 forks source link

Email format validation #61

Closed adabutch closed 4 years ago

adabutch commented 4 years ago

The backend relies on a properly formatted email, if an email.

On the backend #377:

Email addresses for people that are of an invalid format cause errors when the system attempts to send an message to that email address. For instance, a person with an email of "n/a" errored out when attempting to close the ticket. The email sending code was crashing because it presumes at least a well formed email address.

This issue patches this up on the frontend.