In a non-roundcube section of our site, we allow users to list pdf's that they can view in their browser. We want to provide a link for each which effectively says "Send this pdf to someone else" and have that link redirect the user to a compose page with the pdf already loaded as an attachment. Any ideas on how to do this?
Note that the user is already logged into roundcube/dovecot etc.
-
It would be pretty easy to build a plugin that would attach the file automatically using the message_compose plugin hook https://github.com/roundcube/roundcubemail/wiki/Plugin-Hooks#message_compose
@SKaero - thank you! This should do it.