ip - IPv6 address as the domain portion of an email address -
i'm trying test new email validation function i've written, based on this one., minor adjustments.
from large set of valid , invalid entries, function finds 1 false negative - address has ipv6 address instead of domain.
user@[ipv6:2001:db8:1ff::a0b:dbd0] the source wikipedia page: email addresses
however, system.net.ipaddress fails parse ipv6:2001:db8:1ff::a0b:dbd0, , can't find references in rfc4291 prefix of ipv6.
obviously, ipv6:2001:db8:1ff::a0b:dbd0 not valid ipv6 address, valid in email address? or wikipedia wrong?
should actual email user@[2001:db8:1ff::a0b:dbd0] know?
you right @ rfc4291 ipv6 address format. however, smtp (and other email software handling addresses) should @ address literals in rfc5321.
the 1 want "ipv6-address-literal".
Comments
Post a Comment