From 42c62cb041a2b2b95c9cda0c20fcf70334fd244c Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 1 Nov 2011 09:32:21 +0000 Subject: Rewl og krat... needs cleaning up - after port to GIT. --- utils/mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/mail.php') diff --git a/utils/mail.php b/utils/mail.php index 02d1b7f..f0d46ac 100644 --- a/utils/mail.php +++ b/utils/mail.php @@ -16,8 +16,8 @@ class Email { $headers = "From: " . $sender . "\r\n"; $headers .= "Reply-To: " . $replyto . "\r\n"; $headers .= "Content-Type: text/plain; charset=iso-8859-1\r\n"; - $headers .= "X-Mailer: PHP/" . phpversion(); - + // $headers .= "X-Mailer: PHP/" . phpversion(); + $headers .= "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7"; return mail($this->email, utf8_decode($subject), utf8_decode($message), $headers); } } -- cgit v1.2.3