View Full Version : Changing sendmail_from value

05-10-2004, 02:35 AM
I am sending emails from a shared server and in the emails received it says that the sender is the server itself. I am trying to change this so that I can receive to another address the returned mail because of delivery problems.
To do so I have:
1 - Set the headers From:, Reply-To:, X-Sender: and Return-Path all to the address I want to receive the returned mail to.
2 - I have created a .htaccess file to change the sendmail_from value and uploaded it in the root directory:
"php_value sendmail_from abc@abc.com" - abc@abc.com is just an exemple.

This still does not work. Could you please let me know what I am doing wrong?