Author Topic: auto complete some content on New Email?  (Read 654 times)

Offline daj

  • Newbie
  • *
  • Posts: 1
auto complete some content on New Email?
« on: April 06, 2017, 09:25:59 AM »
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: 


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
« Last Edit: April 06, 2017, 09:42:46 AM by daj »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,289
Re: auto complete some content on New Email?
« Reply #1 on: April 06, 2017, 02:32:06 PM »
I think this could be done with the js event hooks