bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RFC2047 in headers


From: Jean Louis
Subject: RFC2047 in headers
Date: Tue, 3 Nov 2020 18:03:42 +0300
User-agent: Mutt/+ (1036f0e) (2020-10-18)

While this works:

admin-> mail -s Hello -E 'set sendmail=sendmail:/home/admin/bin/sendmail' 
--content-type=text/plain 'CC <ss@example.com>' < text

Following does not work:

admin-> mail -s Hello -E 'set sendmail=sendmail:/home/admin/bin/sendmail' 
--content-type=text/plain 'ČC <ss@example.com>' < text
mail: Cannot parse address `ČC <ss@example.com>': Malformed email address

Am I supposed to convert the name for email address myself to RFC 2047
string?

Following does work:

mail -s Hello -E 'set sendmail=sendmail:/home/admin/bin/sendmail' 
--content-type=text/plain "=?utf-8?Q?=C4=8C?= <ss@example.com>" < text

But maybe mailutils shall handle that itself to RFC 2047.

I think that subject line also has to be prepared similarly, maybe not
same RFC, maybe not, I have forgotten, but I will find it.

I think that user should be able to enter UTF-8 as for email name and
that such should be converted rather by mailutils.

Jean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]