Hi
Please help me out here... I generate a mail from a webpage with PHP.
I send a copy to the "user" with this code:
mail("$email", "This is a verifikation for $xxxxx", $UserMessage, "From: xxxx@xxxx.xx");
And my self recieve a copy with this piece of code:
mail("xxxx@xxxx.xx", "Booking: $xxxxxx", $AdminMessage, "From: $email");
The problem is that both of the, "From: $email" and "From: xxxx@xxxx.xx" turns out to be "From: Unprivileged user" in the mails that I and the "user" recieve...
It is nothing wrong with the var. $email, it prints the correct value... the funniest thing is that the user gets his copy of the mail using the same var, $email...
Does anyone know what is wrong ????