Sometimes, when creating messages, it is required to add custom headers to it. it should be possible to do so. Either by being able to open the complete message (including headers) in an external editor, or by being able to add new headers to the list of compose headers. it is already possible to add headers using scripting. Using the ~/.claws-mail/python-scripts/auto/compose_any script containing: clawsmail.compose_window.add_header('Foo', 'bar') The only problem with that solution is that the header name cannot be customized in the claws mail UI and must be set in the script itself. When you want to change the headers, you have to change the script before you open the compose window. A Tool>Add custom header that prompt for the header name and run the above function would work very well for me. Use case: create control messages for a newgroup server I manage. The special "Control:" and "Approved:" headers must be set.
See the 'Hidden preferences' section of the manual, look for the 'type_any_header' option http://www.claws-mail.org/manual/claws-mail-manual.html#adv_hidden
Looking through the code, I also found the file ~/.claws-mail/extraheaderrc that can contain a list (one per line) of extra headers that would be available in the header list.
(In reply to comment #2) > Looking through the code, I also found the file ~/.claws-mail/extraheaderrc > that can contain a list (one per line) of extra headers that would be > available in the header list. Of course, using `man claws-mail` would have told you sooner than reading through the code. That file gives you extra custom headers to choose from. The 'type_any_header' option allows you add any header at all.