The problem is this: I'm using a third-party Email delivery service that doesn't accept mail addresses with non-ASCII characters in the name part, like müller@example.com .
Encoding such an address with Punycode:
http://en.wikipedia.org/wiki/Punycode
yields this address:
xn--mller-kva@example.com
And sending mail to it via the service seems to work.
However, I'm not sure if someone couldn't register "xn--mller-kva@example.com" directly, thus receiving Emails meant for "müller@example.com".
Is this clashing possible ? Are there other solutions for this problem ?
UPDATE
Thanks for the answers. Here's a summary of what we learned:
- Punycoding the local part of the email address works, and you can send and receive from such an encoded address (of course)
- However, there are no guarantees at all that providers or mail clients will understand the encoding, or do it automatically. Clashes are therefore possible, and the whole idea not a good one :)
- One should simply do what everyone else does, which is to not allow or accept non-ASCII name parts, as per specification
- And finally, it turns out the third-party service prohibits such shenanigans anyway.