-
Notifications
You must be signed in to change notification settings - Fork 34
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
internationalised email addresses #57
Comments
Do you have more information about where the problem occurs? Is that we not able to store this email addresses in Accounts, or is it Invenio-Mail/Flask-Mail that has a problem with it? |
It is not possible to send international email because flask mail makes a RFC sanity check in the
The library https://stackoverflow.com/questions/34040613/how-to-send-an-e-mail-to-the-international-address |
This is a bit of a bigger task as it requires replacing Flask-Mail extension (which should anyway be done as it is unmaintained), so at this point I'm not sure when the work can be scheduled. |
What's the status for this issue. Unfortunately, we have data with international email addresses in our user database and we can't email these users. Is there already an idea with what |
It should be possible to send emails to internationalised email addresses.
Following RFC describes the standard: https://datatracker.ietf.org/doc/html/rfc6531
With the python module
smtplib
it is already possible to send emails to internationalised email addresses as following:server.sendmail(from_email, to_email.encode('utf-8'), msg.as_string(), ['SMTPUTF8'])
The text was updated successfully, but these errors were encountered: