[BUG] Invalid email can be passed as argument for MAIL FROM, RCPT TO commands #135
Open
4 tasks done
Labels
bug
Something isn't working
New bug checklist
smtpmock
to the latest versionBug description
Regex for validation of email works in wrong way. We can pass to
MAIL FROM
,RCPT TO
invalid email, likea@a.com@b.com
. Seems when wrong email ends on valid domain it passes (a@a.com@b.com). We need to fix it and cover via tests.Complete output when running smtpmock, including the stack trace and command used
The text was updated successfully, but these errors were encountered: