Following a question on irc: The identities settings window allows adding aliases for a given identity but there's no way to select one when writing an email. Wish: If there are email aliases for a given identity, allow selecting it in the From: field of the composer window.
Indeed... Now how to implement it... No idea for the moment...
A good solution would be searchable combobox, maybe?! Eg.: + https://doc.qt.io/qt-5/qcompleter.html + https://forum.qt.io/topic/92105/qcombobox-filtering-by-typing As this should help finding aliases even if an identity has a lot of aliases. Dropdowns still needs the user to search for an entry and they may not be sorted in a specific order. Additionally, pressing enter should fill out "Reply-To" field, too, as in most use cases of using aliases the user wants to receive replies to the same address. Another approach would be to let the user pre define the "Reply-To" default entry when adding a new alias via "Edit Identity" dialogue.
Later one can add "top 5 recently used" or "top 5 used aliases with receiver's domain" entries on top of the searchable combobox results. Similar to Libreoffice's Writer fonts dropdown menu. Btw. here is an code example of a searchable combobox: + https://doc.qt.io/qt-5/qtwidgets-tools-completer-example.html
That's not *so* simple :) there are a couple more things to keep in mind, eg: removing the signature, not using the crypto settings...
(In reply to Christophe Giboudeaux from comment #4) > That's not *so* simple :) there are a couple more things to keep in mind, > eg: removing the signature, not using the crypto settings... True. This also includes allowing crypto for aliases. Enabling the searchable combobox and disabling crypto if non-linked keys are found is a start. This already helps a lot with using aliases. Sure, ideally there is more to consider later on.
If I'm not mistaken, the "Redirect Message" dialogue already has the proposed functionality implemented. Except for "top 5 recently used" list all is working fine. The "Transport" dropdown might be a nice addition, too.