Hi,

I'm using the autoreply function of webform and came across an interesting issue. Everything works as designed, great module, but the manually input e-mail from address appears in my case as sent form "=?UTF-8?B?U2Now7ZuZSBGcmVpemVpdCBLcmFuZW5DYW1w.IHwgQ2FtcGluZ3BsYXR6ICYgWWE=?=
=?UTF-8?B?Y2h0a.GFmZW4=?=" in my e-mail client. The contained string "UTF-8" strikes me there must be some encoding issue somewhere. But where? I received the same sender name when choosing the from-address from a component or the default.

Any help much appreciated.

Thanks in advance,
upunkt

Comments

upunkt’s picture

Figured it out. The E-mail-from-name field does not accept umlauts and special characters. This should not be the case.

danchadwick’s picture

Version: 7.x-4.2 » 8.x-4.x-dev
Category: Bug report » Feature request

Issues with international characters in e-mail addresses need to be addressed in the D8 branch. There is another issue for the To field.

danchadwick’s picture

Title: Email sender name scrambled. » Email sender name does not accept non-ascii characters
quicksketch’s picture

Everything works as designed, great module, but the manually input e-mail from address appears in my case as sent form "=?UTF-8?B?U2Now7ZuZSBGcmVpemVpdCBLcmFuZW5DYW1w.IHwgQ2FtcGluZ3BsYXR6ICYgWWE=?=
=?UTF-8?B?Y2h0a.GFmZW4=?=" in my e-mail client.

This is how all e-mail headers are formatted if they contain UTF-8 characters, it's in the standard for e-mail itself. See

http://ncona.com/2011/06/using-utf-8-characters-on-an-e-mail-subject/

http://datatracker.ietf.org/doc/rfc1342/

So it may be that your mail client simply does not support encoded headers, rather than Webform doing anything incorrect here. However, it may also be that Webform is doing the encoding, but not doing it correctly.

danchadwick’s picture

There is a different issue for supporting UTF-8 in the actual e-mail address. As I recall, the reasonable solution was to wait until it's fixed in core, which I think is happening in D8. Would need to re-research this though.

danchadwick’s picture

Version: 8.x-4.x-dev » 7.x-4.x-dev
Status: Active » Closed (duplicate)
Related issues: +#2449501: Site name containing UTF-8 used with emails with Reply-To feature