Hi all,
I have had a script on a one of the sites on my server for sometime, it basically takes the results from the form, stores it in a database and emails the results back to the user. This today has not stopped working but now works differently. It does everything it should except it now says username@host.domain.com.
The script is PHP and is:
[PHP]mail($OWNER_EMAIL, $subject, $message, "FROM: $RESPONSENAME<$RESPONSEFROM>") || DIE("Not able to send email.");[/PHP]
So when a user receives a submission, in their mail client it should say it's from Site Registrations and not the servers hostname. I have tried various different ways of doing this in php but it is still the same. I have phpsuexex and suexec installed.
Anyone any ideas?