Seite 1 von 1

Return Path statisch machen

Verfasst: 11.10.2006 09:39
von Nerion
Hallo,

ich möchte dass der Return-Path von ausgehenden Mails vom Forum statisch ist.

Dafür hab ich in der emailer.php folgende Zeile wie folgt angepasst.

Code: Alles auswählen

		$this->extra_headers = (($this->reply_to != '') ? "Reply-to: $this->reply_to\n" : '') . (($this->from != '') ? "From: $this->from\n" : "From: " . $board_config['board_email'] . "\n") . "Return-Path: reply@moodle.kivbf.de" . "\nMessage-ID: <" . md5(uniqid(time())) . "@" . $board_config['server_name'] . ">\nMIME-Version: 1.0\nContent-type: text/plain; charset=" . $this->encoding . "\nContent-transfer-encoding: 8bit\nDate: " . date('r', time()) . "\nX-Priority: 3\nX-MSMail-Priority: Normal\nX-Mailer: PHP\nX-MimeOLE: Produced By phpBB2\n" . $this->extra_headers . (($cc != '') ? "Cc: $cc\n" : '')  . (($bcc != '') ? "Bcc: $bcc\n" : '');
Leider setzt er bei Ausgehenden Emails den Return-Path nicht wie angegeben auf reply@moodle.kivbf.de sondern weiterhin auf die Email-Adresse die als Administrator-Email im Forum angegeben ist.
Ich versende über SMTP.
Wo muss ich das ändern, damit es funktioniert?

Danke