Use case insensitive email compare on account address guess
An IMAP account in Evolution can have aliases of the form “Display-Name <email-address@domain>”. When “Reply” on an email is clicked, Evolution checks, whether the recipient address of the original email is an alias of the account and sets as “From” the alias, accordingly, irrespective of the display-name of the address or of the dispay-name of the received email.
I have as alias “Дилян Палаузов <mail@example.org>”. Evolution downloads an email with
To: =?utf-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCyICAgICAgICAgICAgICAgIChB?=
=?utf-8?Q?EGEE_Mail=29?= <mail@EXAMPLE.ORG>
which over hexdump -C
is shown as:
0005f550 63 6f 6d 3e 0d 0a 54 6f 3a 20 3d 3f 75 74 66 2d |com>..To: =?utf-|
0005f560 38 3f 42 3f 30 4a 54 51 75 4e 43 37 30 59 2f 51 |8?B?0JTQuNC70Y/Q|
0005f570 76 53 44 51 6e 39 43 77 30 4c 76 51 73 4e 47 44 |vSDQn9Cw0LvQsNGD|
0005f580 30 4c 66 51 76 74 43 79 49 43 41 67 49 43 41 67 |0LfQvtCyICAgICAg|
0005f590 49 43 41 67 49 43 41 67 49 43 41 67 49 43 68 42 |ICAgICAgICAgIChB|
0005f5a0 3f 3d 0d 0a 20 3d 3f 75 74 66 2d 38 3f 51 3f 45 |?=.. =?utf-8?Q?E|
0005f5b0 47 45 45 5f 4d 61 69 6c 3d 32 39 3f 3d 20 3c 6d |GEE_Mail=29?= <m|
0005f5c0 61 69 6c 40 45 58 41 4d 50 4c 45 2e 4f 52 47 3e |ail@EXAMPLE.ORG>|
0005f5d0 0d 0a 53 75 62 6a 65 63 74 3a 0d 0a 09 3d 3f 75 |..Subject:...=?u|
When I click Ctrl+U on the message, it shows:
To:
=?utf-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCyICAgICAgICAgICAgICAgIChB?=
=?utf-8?Q?EGEE_Mail=29?= <mail@EXAMPLE.ORG>
(note that compared to the received original, Evolution displays an additional CRLF).
When Evolution displays the message, on the To: line there is a huge space before the bracket, but it shows Дилян Палаузов (AEGEE Mail) <mail@EXAMPLE.ORG>
.
When I click on reply, Evolution does not select mail@example.org as alias, but it should. Instead, Evolution fills as From: the default address.