diff --git a/mail.php b/mail.php index 3dc82cf..5fd4b8c 100644 --- a/mail.php +++ b/mail.php @@ -1356,6 +1356,8 @@ class mail } unset ($sectionID); unset ($section); + $attachmentDetails = array (); + $attachmentInlineDetails = array (); for ($i = 0 ; $i < $attachmentNb ; $i ++) $attachmentDetails[$i] = $this->getAttachmentDetails($i); for ($i = 0 ; $i < $attachmentInlineNb ; $i ++)