View Single Post
  #4  
Old 7th November 2006, 16:07
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 150 Times in 130 Posts
Default

try this small PHP test file.
Make sure your change the recipient@example.com to an email address that is not on your system!

Code:
<?php
$to = "recipient@example.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
  echo("<p>Message successfully sent!</p>");
 } else {
  echo("<p>Message delivery failed...</p>");
 }
?>
When you have tested the above PHP script, post the last 10 to 20 lines from your mail.log file (The mail.log file is in: "/var/log")
Reply With Quote