Okay, I have not solved both the problems, that is roundcube does not ask if I want to send an empty message and the recepient gets the HTML output and not the code.
There are just a few tiny bugs now. The googiespell spell checker does not work (maybe roundcube doesnt recognise the message body, the no body warning was removed using a dirty hack
)
Well, that can be solved if I use the tinyMCE's built in spell checker but the problem is that I want to use googiespell as that would involve rc recognising the html body and would also solve the no message warning elegantly.
Can anyone tell how to make rc recognise the tinyMCE textarea?
There is another minor bug. When I click on send, the message text in the message body disappears in the compose area but the recipient still gets the message. Anyway to solve this?
PS: If I work everything out, I will post a tutorial here on integrating tinyMCE with roundcube