1,7 → 1,7 |
<?php |
|
// Secure Mailer PHP Class |
// Revision: 2009-08-09 |
// Revision: 2009-08-13 |
// (C) 2009 ViaThinkSoft |
// QB_SECURE_MAIL_PARAM (C) Erich Kachel |
|
46,9 → 46,11 |
} |
|
function addHeader($name, $value) { |
$this->headers .= $name.': '.$this->QB_SECURE_MAIL_PARAM($value)."\r\n"; |
$this->headers .= $this->QB_SECURE_MAIL_PARAM($name).': '.$this->QB_SECURE_MAIL_PARAM($value)."\r\n"; |
} |
|
// TODO: Braucht man auch ein addRawHeader()? |
|
function sendMail($recipient, $subject, $message) { |
return @mail($this->QB_SECURE_MAIL_PARAM($recipient), |
$this->QB_SECURE_MAIL_PARAM($subject), |