Jump to content

wallsingham78

Members
  • Content count

    1
  • Joined

  • Last visited

  1. Im Thread: https://forums.oscommerce.com/topic/70265-wrong-return-path-in-email-header/ wird eine Lössung gezeigt die bei mir nicht ganz geholfen hat. Es wird dort nur der Reply-To: und nicht der Return-Path: ergänzt. Untenstehend daher die Lösung die bei mir zumindest funktioniert. Adding Reply-To: and Return-Path: within the mail statement, which causes problems with bouncing mail. Within includes/classes/email.php (in admin AND catalog path) The line that reads: if (EMAIL_TRANSPORT == 'smtp') { return mail($to_addr, $subject, $this->output, 'From: ' . $fro m . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this ->lf, $xtra_headers)); } else { return mail($to, $subject, $this->output, 'From: '.$from.$this ->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers)); Should read...... if (EMAIL_TRANSPORT == 'smtp') { return mail($to_addr, $subject, $this->output, 'Reply-To: ' . $from . $this->lf . 'Return-Path: ' . $from . $this->lf . 'From: ' . $fro m . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this ->lf, $xtra_headers)); } else { return mail($to, $subject, $this->output, 'Reply-To: ' . $from . $this->lf . 'Return-Path: ' . $from . $this->lf . 'From: '.$from.$this ->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));
×