der attachment mod funktioniert jetzt auf meinem apache server:
ein problem ist gelöst und schon habe ich das nächste
wenn ich jedoch eine private nachricht schreibe bekomme ich nun diese fehlermeldung:
Code: Alles auswählen
Failed sending email ::
DEBUG MODE
Line : 225
File : D:\wampp2\htdocs\phpBB2\includes\emailer.phpelse
{
$result = @mail($this->address, $this->subject, $this->msg, $this->extra_headers);
}
if ( !$result )
{
message_die(GENERAL_ERROR, 'Failed sending email :: ' . $result, '', __LINE__, __FILE__);
}
return true;
}
//
// Attach files via MIME.
//
function attachFile($filename, $mimetype = "application/octet-stream", $szFromAddress, $szFilenameToDisplay)
{
global $lang;
$mime_boundary = "--==================_846811060==_";
$this->mailMsg = '--' . $mime_boundary . "\nContent-Type: text/plain;\n\tcharset=\"" . $lang['ENCODING'] . "\"\n\n" . $this->mailMsg;
if ($mime_filename)
{
$filename = $mime_filename;
$encoded = $this->encode_file($filename);
}
grüsse
mario