You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have created an application in which some users have email which contains special characters, and when we deliver mail to those users it fails with error message : -
*** Error receiving message: {:sender=>"<[email protected]>", :recipients=>["<som\xC3\[email protected]>"], :source=>"Date: Sat, 12 Jun 2021 15:39:44 +0530\r\nFrom: <[email protected]>\r\nTo: [email protected]\r\nMessage-ID: <*************>\r\nSubject: "xyz"}
Exception: "\xC3" from ASCII-8BIT to UTF-8
The text was updated successfully, but these errors were encountered:
MailCatcher does not support utf8 or 8bitmime, it follows the original smtp standard which is ascii (7 bit) only. Your smtp or mail libraries are not creating correctly formatted messages. What are you using?
sj26
linked a pull request
Jul 15, 2021
that will
close
this issue
Your SMTP client and mail library should be correctly encoding mail message bodies to only contain 7-bit ASCII characters, per RFC5321. Wider characters can be supplied in smtp by using quoted strings, and in mail bodies by using encodings like quoted printable, and most smtp clients and mail libraries will handle this transparently. I suggest checking that your SMTP client and mail library are conforming to standards. Many SMTP servers are quite lenient with these sorts of issues, so you might be fine. But you might also have trouble sending email over the wider Internet.
Hello,
I have created an application in which some users have email which contains special characters, and when we deliver mail to those users it fails with error message : -
The text was updated successfully, but these errors were encountered: