Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Rob Taylor on July 08, 2010, 03:48:00 AM

Title: Custom sent mail confirmation template
Post by: Rob Taylor on July 08, 2010, 03:48:00 AM
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
Title: Custom sent mail confirmation template
Post by: SKaero on July 10, 2010, 03:02:36 PM
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.