I've got this code:
PHP Code:
<?php

/* recipients */
$to  "Arien Talabac <[email protected]>" ", " //note the comma

/* subject */
$subject "Test Mail";

/* message */
$message '
Test message
'
;

/* To send HTML mail, set the Content-type header. */
//$headers  = "MIME-Version: 1.0\n";
//$headers  = "Content-type: text/html; charset=iso-8859-1\n";

/* additional headers */
$headers  "From: TurtleTips Auto-Mailer <[email protected]>\n";

/* and now mail it */
mail($to$subject$message$headers);

?>
But I get an error on the last line (mail($to...):
PHP Code:
WarningServer Error in d:\apacheroot\phppages\sendmail.php on line 22 
I defined my SMTP server in the php.ini file to be mail.*****.**.home.com (replacing the *s ) but it still doesn't work, and I can't find any error log to see what error was generated.