3 ms·
The format of an email address is: [whatever the server accepts]@[valid domain name] No more, no less. Although "server" here also includes anything in-betwee
by ChrisSD 6y ago
The format of an email address is:
[whatever the server accepts]@[valid domain name]
No more, no less. Although "server" here also includes anything in-between that may barf on a local part or (sometimes) even a domain name it doesn't like. For example, some forms don't like emails to top level domains.
- mercurywells 6y agoWhat about user@[127.0.0.1] (with the brackets)
- deleted 6y ago[deleted]
- 411111111111111 6y agoDon't the brackets mean that it's a ipv6 address? I would've thought it's invalid, because the ip isnt colon separated. (Just guessing here)
- cbhl 6y agoThere are various schemes for mapping IPv4 addresses in the IPv6 address space, for example [::ffff:127.0.0.1] [64:ff9b::127.0.0.1] https://en.wikipedia.org/wiki/IPv6_address#Special_addresses https://en.wikipedia.org/wiki/IPv6_address#Special_addresses
- firethief 6y agoYou may be thinking of URLs. The host specification differs between the two standards^H^H^H^H^H^H conventions.
- jcranmer 6y agoIn the email addressing standard (RFC 5321), the brackets means it's an IP address literal. If you add in an IPv6 tag (e.g., [IPv6:1::1]), you get IPv6 support as well.
- deleted 6y ago[deleted]
- ChrisSD 6y agoAh yes, you can use an IP address instead of a domain! I'd completely forgotten about that because nowadays it's so very unlikely to work with anything.