TomHung - 2006-06-29 17:03:15
you must change the sendmail.class.php to get this to work with current versions of php.
New send function
function send()
{
$this->makeMimeMail();
$header = $this->emailheader;
// Überprüfen ob Attachments angehängt wurden
if(count($this->attachment)>0)
{
$header .= "Content-Type: multipart/mixed; " . 'boundary="'.$this->emailboundary.'"'."\n\n";
$body .= '--'.$this->emailboundary."\r\n";
$body .= $this->textheader;
if(count($this->attachment) > 0) $body .= implode("",$this->attachment);
$body .= '--'.$this->emailboundary.'--';
}
else
{
$body .= $this->textheader;
}
// Versenden der Mail
mail("$this->empfaenger",$this->betreff,$body,$header);
$this->deletememory();
}