I don't understand this problem((
I tried a simple test script working to pipe
Code: Select all
#!/usr/bin/php -q
<?php
error_reporting(E_ALL);
$to = 'mymail@mail.com';
$subject = 'Its working!';
$message = 'hello test';
$headers = 'From:mymail@mail.com' . "\r\n" .
'Reply-To: mymail@mail.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
What I have to do?