Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emojis are not allowed #37

Open
owenthewizard opened this issue Jan 9, 2025 · 0 comments
Open

Emojis are not allowed #37

owenthewizard opened this issue Jan 9, 2025 · 0 comments

Comments

@owenthewizard
Copy link

Describe the bug

Afaik SMTPUTF8 allows emojis in email addresses, but EmailAddress::FromStr gives InvalidCharacter:
👋@💌.kz
I❤️CHOCOLATE@example.com

Minimal Reproducible Examples (MRE)

use email_address::EmailAddress;
use std::str::FromStr;

fn main() {
    let x = EmailAddress::from_str("👋@💌.kz");
    let y = EmailAddress::from_str("I❤️CHOCOLATE@example.com");
    dbg!(x);
    dbg!(y);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant