diff --git a/vtlib/Vtiger/Mailer.php b/vtlib/Vtiger/Mailer.php
index 1987415c4bb7fb8ee9d87dd69562b37c37a37cec..7341840a1933b96a7a82ec13a58831038c615c79 100644
--- a/vtlib/Vtiger/Mailer.php
+++ b/vtlib/Vtiger/Mailer.php
@@ -78,9 +78,11 @@ class Vtiger_Mailer extends PHPMailer {
 	function reinitialize() {
 		$this->ClearAllRecipients();
 		$this->ClearReplyTos();
+		$this->ClearCustomHeaders();
 		$this->Body = '';
 		$this->Subject ='';
 		$this->ClearAttachments();
+		$this->ErrorInfo = '';
 	}
 
 	/**