Austin Zelenka
New member
I don't know what i'm doing wrong, Iv'e been using php for a little more then a month or so, I had a working mail system that took me some time to make then one day someone I new asked me if I got the his mail and I said no. So I looked into it sure enough my php mail system wasn't working so i tried looking for the problem couldn't find one, I hadn't touched the script since I finished and I tested it. This problem has been on my mind now for 2 weeks i have tried several peaces of code that other people have made but even a simple email like test doesn't send heres my code Im running:
PHP platform: mac(please don't say anything about PC's being better) version:5.3.3 apache 2.0
Here's a peace of code I tried to use to send a mail:
$to = '[email protected]';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: [email protected]' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
I didn't update php afterward(if there was an update), however I very well could have update the server it self. Does anyone know what my problem is and/or how to fix it?
PHP platform: mac(please don't say anything about PC's being better) version:5.3.3 apache 2.0
Here's a peace of code I tried to use to send a mail:
$to = '[email protected]';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: [email protected]' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
I didn't update php afterward(if there was an update), however I very well could have update the server it self. Does anyone know what my problem is and/or how to fix it?