Onbekend |
|
En waar staat die php.ini? Ik heb geen idee of ie in Windows of in PHP moet...
<?php
$to = 'iemand';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
'Reply-To: webmaster@example.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
<?php $to = 'iemand'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . mail($to, $subject, $message, $headers); ?>
Dit script komt van PHP.net, dat zou goed moeten zijn, toch?
Grz,
Rick. |