How to send email to recipient with umlauts in domain name?
问题 In my app I have to send email to recipient who has umlauts in domain name. Example: "test@äöü.test.com" I'm using cfmail tag and I'm getting such error: "invalid definition for attribute to at tag mail" "Invalid E-Mail Address definition (test@äöü.test.com)" Is there any way to send email to such recipients in coldfusion? 回答1: There is even a easier solution! Why not use Oracles built in class: http://download.oracle.com/javase/6/docs/api/java/net/IDN.html#toUnicode(java.lang.String) Then