rnwood / smtp4dev

smtp4dev - the fake smtp email server for development and testing
BSD 3-Clause "New" or "Revised" License
3.02k stars 339 forks source link

[Bug] Email addresses in TO or CC with trailing dot is shown as a BCC recipient in Web User interface #1254

Closed linusmolin closed 4 months ago

linusmolin commented 1 year ago

Any email address in TO or CC field ending with a dot/punctuation will also be shown as BCC recipient. image

Tested in Chrome and Edge with SMTP running on Windows Server.

Repro steps: Run latest smtp4dev with Web User interface enabled Send a email with a trailing dot/punctuation in the TO or CC address. Example: "to@example.com." Look at the email in the Web User interface using a browser

Result: Any email address in TO or CC field ending with a dot/punctuation will also be shown as BCC recipient.

rnwood commented 4 months ago

A change has been merged so that it will consider rooted vs unrooted domains names equal (which they are in most but not all cases with SMTP). It will still display them as per whatever was captured (since that might be important).