Hey Salvatore,
This is great! I've applied your patch and overall its working very
well. For new messages, it works just as I'd expect, and I'm glad
to see someone working on this.
The only issues that I've run into are really only when it comes to
forwarding and replying to messages:
1. We probably need a preference for whether or not users want to
use HTML by default when sending new messages. Much like we do today
for viewing messages. Prefer HTML. Or perhaps this is an extension
of that existing preference. Prefer for viewing and sending.
2. When replying to a message, it makes sense to default to the
format used in the message I'm forwarding or replying to. So, if I'm
viewing HTML and I reply, it should default to HTML, above the
existing HTML.
3. Currently, when you switch from Text to HTML when forwarding/
replying the messages lose their (basic) formatting, including line
breaks. We'll need to try and retain/convert that.
I realize this is probably a fair bit of work and I'd be happy to
contribute wherever I can. This is one of the most important
enhancements to roundcube and a major achievement!
Thanks!
Andrew