Skip to content

Sending email failes if email contain special character #463

@amandruby

Description

@amandruby

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=>"<from@example.com>", :recipients=>["<som\xC3\xA9body@here.com>"], :source=>"Date: Sat, 12 Jun 2021 15:39:44 +0530\r\nFrom: <from@example.com>\r\nTo: =?UTF-8?B?c29tw6lib2R5?=@here.com\r\nMessage-ID: <*************>\r\nSubject: "xyz"}

    Exception: "\xC3" from ASCII-8BIT to UTF-8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions