• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFMAIL specail character in email address (CF10)

New Here ,
Aug 24, 2015 Aug 24, 2015

Copy link to clipboard

Copied

Hello,

I have an issue on the my project, users want to send email with emails address containing special characters or greek characters

like the following email address example (frédéric.toto@toto.com or κείμενο@toto.com).

Anyway I’ve got the following cfmail error message (email address for “to” attribute is not valid)

CF_MAIL.jpg

How can I send email to such address?

Regards

Views

589

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Aug 25, 2015 Aug 25, 2015

Copy link to clipboard

Copied

This wont really be possible. Characters like that are not available on valid external email addresses. Unicode at most could be supported at the domain end by not the local user end.

Some mail servers are supporting this a little more, so you could send emails to an address with unicode on a server that supports it but as it stands Coldfusion wont allow it. Even Google don't allow creation of emails like this. Although they will allow transporting emails.

Email address - Wikipedia, the free encyclopedia

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 25, 2015 Aug 25, 2015

Copy link to clipboard

Copied

LATEST

I use the isEmail() java class because it provides better validation than isValid("email") and provides consistent results on multiple platforms (Java, PHP & C#).

http://isemail.info/about

According to this RFC 321 compliant email validation library, the results are below:

frédéric.toto@toto.com  = "Address is valid".

κείμενο@toto.com = "Address is valid but has an unusual initial letter"

I was going to recommend using Mandrill's API for sending since they have lots of advanced SMTP options, but apparently they aren't able to send email to addresses that have UTF-8 characters in the email prefix either.

http://kb.mailchimp.com/accounts/management/international-characters-in-mailchimp

Although MailChimp can process UTF-8 characters in most parts of our application, we cannot process UTF-8 characters in your subscribers' email address prefixes. We do accept Internationalized Domain Name (IDN) servers, so it’s alright to have UTF-8 characters in the domain name.

For example, we’ll block direcciónelectrónica@domain.com because the international characters are in the prefix, but we'll allow an address like test@ñoñó1234.com, where the characters are in the domain.

If anyone finds a mail server capable of sending to an address with UTF-8 characters in the prefix, please respond in this post.  Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation