Roundcube Community Forum

 

Custom sent mail confirmation template

Started by Rob Taylor, July 08, 2010, 03:48:00 AM

Previous topic - Next topic

Rob Taylor

Hi there - we are integrating roundcube with our application andwant to diplsay a custom template 'mytemplate.html' rather than returning to the message list when the mail is sent.

We have tried simply using $OUTPUT->send('mytemplate.html') in the sendmail.inc file - (instead of $OUTPUT->send('iframe.html')) but it will
not display the template - just goes back to the list!

I am new to roundcube, so pretty sure i'm being dim - any help from an
expert would be much appreciated.

Regards,
Rob

SKaero

All the sendmail.inc file does it send back if the email was sent or the error that was returned (that way if the email isn't sent the user isn't redirected) you would need to change the javascript in app.js file to forward to a different location.