|
@@ -274,7 +274,7 @@ function ClearAttachments() {
|
|
|
|
|
|
$rem_attachments = array();
|
|
$rem_attachments = array();
|
|
foreach ($attachments as $info) {
|
|
foreach ($attachments as $info) {
|
|
- if ($info->session == -1) {
|
|
|
|
|
|
+ if ($info['session'] == -1) {
|
|
$attached_file = "$hashed_attachment_dir/$info[localfilename]";
|
|
$attached_file = "$hashed_attachment_dir/$info[localfilename]";
|
|
if (file_exists($attached_file)) {
|
|
if (file_exists($attached_file)) {
|
|
unlink($attached_file);
|
|
unlink($attached_file);
|
|
@@ -1019,6 +1019,7 @@ if ($default_use_mdn) {
|
|
if ( SendMDN( $MDN_to, $final_recipient ) > 0 && $supportMDN ) {
|
|
if ( SendMDN( $MDN_to, $final_recipient ) > 0 && $supportMDN ) {
|
|
ToggleMDNflag( true);
|
|
ToggleMDNflag( true);
|
|
}
|
|
}
|
|
|
|
+ ClearAttachements();
|
|
}
|
|
}
|
|
$sendreceipt = 'removeMDN';
|
|
$sendreceipt = 'removeMDN';
|
|
$url = "\"read_body.php?mailbox=$mailbox&passed_id=$passed_id&startMessage=$startMessage&show_more=$show_more&sendreceipt=$sendreceipt\"";
|
|
$url = "\"read_body.php?mailbox=$mailbox&passed_id=$passed_id&startMessage=$startMessage&show_more=$show_more&sendreceipt=$sendreceipt\"";
|