3 ms·
A good reason to validate email addresses is to prevent SMTP injection. Depending on how you're sending the mail, it may be possible to insert arbitrary header
by jstanley 13y ago
A good reason to validate email addresses is to prevent SMTP injection.
Depending on how you're sending the mail, it may be possible to insert arbitrary headers and body after a \r\n in the email address field. I know I've built at least one system that is vulnerable to this. Then you can put the body after your special headers and hide the rest of the message (either as an attachment or an HTML comment).
This then makes your signup form into what is effectively an open relay.