IPv6 address as the domain portion of an email address

roryok

I'm trying to test a new email validation function I've written, based on this one., but with some minor adjustments.

From a large set of valid and invalid entries, the function finds just one false negative - an address which has an IPv6 address instead of a domain.

user@[IPv6:2001:db8:1ff::a0b:dbd0]

The source is this wikipedia page: Email Addresses

However, System.Net.IPAddress fails to parse IPv6:2001:db8:1ff::a0b:dbd0, and I can't find any references in the RFC4291 to any prefix of IPv6.

Obviously, IPv6:2001:db8:1ff::a0b:dbd0 is not a valid IPv6 address, but is it valid in an email address? Or is wikipedia wrong?

Should the actual email be user@[2001:db8:1ff::a0b:dbd0] Anyone know?

thuovila

You are right to look at RFC4291 for the IPv6 address format. However, for SMTP (and thus for any other email software handling addresses) you should also look at Address Literals in RFC5321.

The one you want is probably "IPv6-address-literal".

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Set primary IPv6 address

分類Dev

How to determine if IPv6 address is private?

分類Dev

Allow ipv6 address in Azure firewall

分類Dev

IPV6 Unique-local address and site local address

分類Dev

disable IPv6 autoconf (MAC-based) IPv6 address without disabling privacy addresses?

分類Dev

EndPoint Communication Exception with correct DNS IPv6 address but incorrect IPv4 address

分類Dev

Check if a string contains an IPV6 address in PHP

分類Dev

RewriteRule with an IPv6 IP address does not work

分類Dev

Does openssl understand link-local IPv6 address?

分類Dev

How to get the ipv6 address marked with a specific scope?

分類Dev

Linux - find router IPv6 global address

分類Dev

IPv6 socket creation failed: Address family not supported by protocol

分類Dev

Failing to start Jupyter Notebook : 'does not appear to be an IPv4 or IPv6 address'

分類Dev

Capitalisations in Email Address

分類Dev

Ipv6 address stored differently while using Inet type Postgres 10.4

分類Dev

assign ip address to domain name

分類Dev

How to validate an email address in Go

分類Dev

Wordpress Login not working with email address

分類Dev

Find user from email address

分類Dev

email match with confirm email address in contact form

分類Dev

Can I change root's email address or forward it to an external address?

分類Dev

Gsuite email with phpmailer not sending email to live email address

分類Dev

Get IP address of domain with Unicode characters?

分類Dev

Partially hide email address in TypeScript(Javascript)

分類Dev

iCloud ID Identifier other then Email address?

分類Dev

How to validate Email address using Firebase

分類Dev

Email address validation for MS Access table

分類Dev

Getting the representative email address of a distribution list

分類Dev

Syntax to add second email address to cc field

Related 関連記事

  1. 1

    Set primary IPv6 address

  2. 2

    How to determine if IPv6 address is private?

  3. 3

    Allow ipv6 address in Azure firewall

  4. 4

    IPV6 Unique-local address and site local address

  5. 5

    disable IPv6 autoconf (MAC-based) IPv6 address without disabling privacy addresses?

  6. 6

    EndPoint Communication Exception with correct DNS IPv6 address but incorrect IPv4 address

  7. 7

    Check if a string contains an IPV6 address in PHP

  8. 8

    RewriteRule with an IPv6 IP address does not work

  9. 9

    Does openssl understand link-local IPv6 address?

  10. 10

    How to get the ipv6 address marked with a specific scope?

  11. 11

    Linux - find router IPv6 global address

  12. 12

    IPv6 socket creation failed: Address family not supported by protocol

  13. 13

    Failing to start Jupyter Notebook : 'does not appear to be an IPv4 or IPv6 address'

  14. 14

    Capitalisations in Email Address

  15. 15

    Ipv6 address stored differently while using Inet type Postgres 10.4

  16. 16

    assign ip address to domain name

  17. 17

    How to validate an email address in Go

  18. 18

    Wordpress Login not working with email address

  19. 19

    Find user from email address

  20. 20

    email match with confirm email address in contact form

  21. 21

    Can I change root's email address or forward it to an external address?

  22. 22

    Gsuite email with phpmailer not sending email to live email address

  23. 23

    Get IP address of domain with Unicode characters?

  24. 24

    Partially hide email address in TypeScript(Javascript)

  25. 25

    iCloud ID Identifier other then Email address?

  26. 26

    How to validate Email address using Firebase

  27. 27

    Email address validation for MS Access table

  28. 28

    Getting the representative email address of a distribution list

  29. 29

    Syntax to add second email address to cc field

ホットタグ

アーカイブ