1 Use tinymce from tinycme package instead of the shipped one.
3 --- roundcube-0.1~rc2.orig/program/steps/mail/sendmail.inc 2007-11-26 11:42:36.000000000 +0100
4 +++ roundcube-0.1~rc2/program/steps/mail/sendmail.inc 2007-11-26 11:44:04.000000000 +0100
7 // sanitize image name so resulting attachment doesn't leave images dir
8 $image_name = preg_replace('/[^a-zA-Z0-9_\.\-]/i', '', $image_name);
9 - $img_file = INSTALL_PATH . '/' . $searchstr . $image_name;
10 + $img_file = '/usr/share/tinymce/www/plugins/emotions/img/' . $image_name;
12 if (! in_array($image_name, $included_images)) {
13 // add the image to the MIME message