My webform sends email with wrong encodig in field "From" :
From: "0L3RltC5INCS0Y/Rh9C10YHQuw==?= =?UTF-8?B?0LDQs"@ktc-ua.com, "tC+0LLQuNGH?=\" <s.lyasckowets@yandex.ua>"@ktc-ua.com <"\"=?UTF-8?B?0JvRj9GB0LrQvtCy0LXRhtGMINCE0LLQs9C1"@ktc-ua.com,>

I have also the Mimemail module installed. But mails sended with it have normal encoding and look fine.

Any suggestions?

Comments

khiminrm’s picture

I think I have found my problem. When the name has an apostrophe the "From" is broken. Names can include apostrophes in my country (Ukraine). Is there a method to properly send mails when the "E-mail from name " includes apostrophe(s)?

khiminrm’s picture

Title: Wrong encoding in email's field "From" » Apostrophe in "E-mail from name"
khiminrm’s picture

Category: feature » support
Status: Active » Closed (cannot reproduce)

I have tested some times and cannot reproduce this bug. I don't understand what the problem is.

khiminrm’s picture

Title: Apostrophe in "E-mail from name" » Wrong encoding in email field "From" when "E-mail from name">=24 symbols
Category: support » bug
Status: Closed (cannot reproduce) » Active

I've found the way to reproduce this bug.

1. In webform I create text field.
2. In email settings of webform "E-mail from name" I put component as this textfield.
3. Then I try to make new webform submission in cyrillic, 24+ symbols length. For example "Лясковець Євгеній Вячеславович". 23 symbols - ok, but 24+ in email you'll get an error.

quicksketch’s picture

but 24+ in email you'll get an error

Could you explain what this error is? The e-mail specification requires that headers be encoded for UTF-8 characters, which is what Webform does in the event that the From name or Subject contains non-ASCII characters.

khiminrm’s picture

I tried to say that if I input more then 24 cyrillic symbols in the text-field, which is used for "E-mail from name", the mail has broken field From: "0L3RltC5INCS0Y/Rh9C10YHQuw==?= =?UTF-8?B?0LDQs"@ktc-ua.com, "tC+0LLQuNGH?=\" "@ktc-ua.com <"\"=?UTF-8?B?0JvRj9GB0LrQvtCy0LXRhtGMINCE0LLQs9C1"@ktc-ua.com,>

sun-fire’s picture

The same. Subscribe.

quicksketch’s picture

Category: bug » support

I don't think this encoding is "wrong", it's part of the official e-mail spec. I've answered this question in the past at #226790: Bad Reply-To: and From: fields in emails.

quicksketch’s picture

Status: Active » Closed (duplicate)
botanic_spark’s picture

Issue summary: View changes

I can confirm issue when "From" is > 24 chars.