What am I doing wrong??

Alexej Kubarev

New member
firt of all you are not using code tags when posting... i have fixed that.

now:

Code:
$headers = "Van: $name<$email>\r\n";

is incorrect as there is no Van header. and even if writing in dutch you still have to use english headers: From, Reply-To and so on.

now replace the last parameter with $headers in this line
Code:
mail("myEmail@rara.com", $subject, $message,"Van: $name<$email>");

make sure you have configured your smtp server and php to use the correct server
 
Back
Top