addresses. Each address is a local name and a domain separated by @.
In the **local name** the service applies two rules:
- dots . are ignored: a.n.na and anna are the same;
- everything from the first + onward is dropped: anna+promo becomes anna.
The domain is left untouched. One message was sent to every address. How many distinct inboxes actually receive mail?addresses=["[email protected]", "[email protected]", "[email protected]"] → 2
The first two go to [email protected], the third to [email protected]: different domains, so 2 inboxes.
addresses=["[email protected]", "[email protected]"] → 2
Different local names mean different inboxes.
+, . and exactly one @+.com and has at least one character before itaddresses=["[email protected]", "[email protected]", "[email protected]"]
2
Run checks the first 3 tests in your browser. Submit checks all 71 tests on the server, hidden ones included.