From 5fd9fa480f302902328b81f912dd67ce378284f8 Mon Sep 17 00:00:00 2001 From: citizenz7 Date: Thu, 20 Apr 2017 18:50:55 +0200 Subject: V.1.4.6 --- Html/classes/phpmailer/mail.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Html/classes/phpmailer/mail.php (limited to 'Html/classes/phpmailer/mail.php') diff --git a/Html/classes/phpmailer/mail.php b/Html/classes/phpmailer/mail.php new file mode 100644 index 0000000..4054203 --- /dev/null +++ b/Html/classes/phpmailer/mail.php @@ -0,0 +1,33 @@ +Subject = $subject; + } + + public function body($body) + { + $this->Body = $body; + } + + public function send() + { + $this->AltBody = strip_tags(stripslashes($this->Body))."\n\n"; + $this->AltBody = str_replace(" ", "\n\n", $this->AltBody); + return parent::send(); + } +} -- cgit v1.2.1