I'm interested in using Roundcube to add a mail client functionality to my PHP applications, but sometimes I need a way for the PHP app to send a message, and while I can use mail() to do that, it won't show up in Roundcube and then I've got two separate message streams going. Is there a straightforward way for my PHP apps to send a message through Roundcube?
It's not what RoundCube was designed for, it would be better to use a different php library.