소스 검색

Added phpMailer ClearAttachments function in api_mail_html

José Loguercio 8 년 전
부모
커밋
9a05026c97
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      main/inc/lib/api.lib.php

+ 4 - 0
main/inc/lib/api.lib.php

@@ -8021,6 +8021,10 @@ function api_mail_html(
 
     // Clear all the addresses.
     $mail->ClearAddresses();
+    
+    // Clear all attachments
+    $mail->ClearAttachments();
+    
     return 1;
 }