[PHP] mail() - How to change the sender

2002-11-13 Thread Duncan
Hi, all my scripts on my server, which use the mail() function, get the sender: [EMAIL PROTECTED] where domain is the localdomain of the server and nobody is the user under which apache is running. So, now i recently saw an error in the logs, that some servers don't accept emails coming from a

Re: [PHP] mail() - How to change the sender

2002-11-13 Thread Duncan
Thanks for the answers, but the From: and Reply To: surely work, but nevertheless, if you check the complete headers, you will still see that the email got sent by [EMAIL PROTECTED]. ...about this sendmail -f issue. I tried it, but it didn't change anything. Thanks, Duncan -- PHP General