Am I missing something? This is exactly what we have in program/steps/mail/sendmail.inc (line 362)
But if you have safe_mode on and not SMTP server configured, the Return-Path header will be added by sendmail which mostly is webserver-user@host
There's nothing more we can do and that's why I closed the Ticket. It's not a bug but a configuration issue.
~Thomas
Sean N. Heukels wrote:
Thomas,
saw you closed this ticket. A fix could be:
$from = 'From: ENTER SENDER ADDRESS' . "\r\n";
if (ini_get('safe_mode')) $sent = mail($to, $subject, $body, "$from"); else $sent = mail($to, $subject, $body, "$from", "-f ENTER SENDER ADDRESS");
regards