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

[Feature] UTF8 encoding for email addresses (SMTPUTF8 extension) #13

Closed
lennieh opened this issue Jun 20, 2016 · 4 comments
Closed

[Feature] UTF8 encoding for email addresses (SMTPUTF8 extension) #13

lennieh opened this issue Jun 20, 2016 · 4 comments
Milestone

Comments

@lennieh
Copy link

lennieh commented Jun 20, 2016

I'm using this in my dev environment, but now have German & Swedish clients with non-ASCII characters in their email addresses.

I think I know how to fix it (Encode the addresses to UTF8), but I can't test with smtp4dev because it rejects non-ASCII characters in the email address...

Can you confirm, the smtp4dev doesn't support encoding the email address, so at least I know it's no my code's fault :-)

And obviously it would be good include support for encoding if you don't support it currently.

@apair
Copy link

apair commented Aug 28, 2017

It does not support UTF-8.
You can use other smtp app like fakesmtp (based on JVM)

@rnwood
Copy link
Owner

rnwood commented Mar 11, 2019

Yes this is correct. Non ASCII chars in email address are not supported. We do already support non ASCII chars in the message.

To achieve this we need to implement the SMTPUTF8 extension.

@rnwood rnwood changed the title UTF8 encoding for email addresses [Feature] UTF8 encoding for email addresses (SMTPUTF8 extension) Mar 11, 2019
@rnwood
Copy link
Owner

rnwood commented Mar 26, 2019

Just a note to say that there is progress on this. The latest builds of rnwood.SmtpServer component now have experimental support for the SMTPUTF8 extension and I'm doing some testing with various old and new clients to confirm the my interpretation of the spec and reality of real-world clients are aligned when running in smtp4dev.

Once thing I have found that is tricky to deal with is that older clients that don't support SMTPUTF8 sometimes "just send 8 bit" to send non ASCII encoded data (and non UTF-8) even in the RCPT TO and MAIL FROM arguments.

rnwood added a commit that referenced this issue Apr 3, 2019
@rnwood rnwood added this to the v3.1.0 milestone Jun 24, 2019
@rnwood
Copy link
Owner

rnwood commented Jun 30, 2019

I believe that this feature is now complete. Comments and bug reports welcome!

@rnwood rnwood closed this as completed Jun 30, 2019
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

3 participants