Roundcube Community Forum

 

auto complete some content on New Email?

Started by daj, April 06, 2017, 09:25:59 AM

Previous topic - Next topic

daj

Hi all,

Wondering if it is possible to open a Compose New Email window and have it auto populated with some information?

in my head I see my process sending data via POST to a Roundcube form which opens a new email and uses the POST data to complete the To, Subject and some Body text, but allow the user to edit before sending.

I had a browse through the Plugins but couldn't see anything.   

I had a play about and I see I can pass some parameters in the command line.  Example: 

?_task=mail&_action=compose&[email protected]&subject=test&body=this%20test

It works well, but ideally I'd like to open a new window with the compose, and when the person clicks send the window is closed and they are not in Roundcube but back in my web app.

Any thoughts much appreciated

SKaero