Bug 1563891 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Matt from comment #2)
> I replicated the bug by attempting to send mail to mimí@foá.it

I see the error``` "There are non-ASCII characters in the local part of the recipient address. This is not yet supported. Please change this address and try again."``` when sending with that address (with non-ascii in both local and domain parts).

If I send to```mimi@foá.it```(removed non-ascii from local part) I see the error``` "An error occurred while sending mail. The mail server responded:  5.1.1 <mimi@xn--fo-nia.it> recipient rejected. Please check the message recipient "mimi@xn--fo-nia.it" and try again."```

In the first case the mail is never sent to the server because tb sees the "uncorrectable" error in the local part. In the second case, I fixed the local part but the non-ascii remains in the domain part. According to the code, the non-ascii in the domain is fixed using "ACE" and sent to the server, but my server rejects it.

Here's the code where these actions occur:
https://searchfox.org/comm-central/rev/30fb8479949b5246fda13398de98216dcb3ad346/mailnews/compose/src/nsSmtpProtocol.cpp#340

Also, looking that the SMTP:5 log from my ISP's server, it doesn't mention SMTPUTF8 in the EHLO response or any other response. Not sure how common it is for SMTP servers to support  SMTPUTF8. But maybe the reporter is suggesting that we just ignore the local part non-ascii and send the message and just let the server deal with it (like it deals with the domain part)?
(In reply to Matt from comment #2)
> I replicated the bug by attempting to send mail to mimí@foá.it

I see the error``` "There are non-ASCII characters in the local part of the recipient address. This is not yet supported. Please change this address and try again."``` when sending with that address (with non-ascii in both local and domain parts).

If I send to```mimi@foá.it```(removed non-ascii from local part) I see the error``` "An error occurred while sending mail. The mail server responded:  5.1.1 <mimi@xn--fo-nia.it> recipient rejected. Please check the message recipient "mimi@xn--fo-nia.it" and try again."```

In the first case the mail is never sent to the server because tb sees the "uncorrectable" error in the local part. In the second case, I fixed the local part but the non-ascii remains in the domain part. According to the code, the non-ascii in the domain is fixed using "ACE" and sent to the server, but my server rejects it.

Here's the code where these actions occur:
https://searchfox.org/comm-central/rev/30fb8479949b5246fda13398de98216dcb3ad346/mailnews/compose/src/nsSmtpProtocol.cpp#340

Also, looking at the SMTP:5 log from my ISP's server, it doesn't mention SMTPUTF8 in the EHLO response or any other response. Not sure how common it is for SMTP servers to support  SMTPUTF8. But maybe the reporter is suggesting that we just ignore the local part non-ascii and send the message and just let the server deal with it (like it deals with the domain part)?

Back to Bug 1563891 Comment 3