diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index f64ec3c887..2d52898f04 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -323,6 +323,7 @@ class mail_compose if ($appendix_data['emails']) { try { + if ($appendix_data['emails']['processedmail_id']) $_content['processedmail_id'] .= ','.$appendix_data['emails']['processedmail_id']; $attched_uids = $this->_get_uids_as_attachments($appendix_data['emails']['ids'], $_content['serverID']); if (is_array($attched_uids)) { diff --git a/mail/js/app.js b/mail/js/app.js index 8fb3b50bdd..455888bc9f 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -644,7 +644,7 @@ app.classes.mail = AppJS.extend( for(var j = 1; j < _elems.length; j++) settings.id = settings.id + ',' + _elems[j].id; } - return egw.openWithinWindow("mail", "setCompose", {data:{emails:{ids:settings.id}}}, settings, /mail.mail_compose.compose/); + return egw.openWithinWindow("mail", "setCompose", {data:{emails:{ids:settings.id, processedmail_id:settings.id}}}, settings, /mail.mail_compose.compose/); } else {