hi all....
what to specify in place of sendmail_from if my smtp is localhost....
i specified smtp=localhost
my mail function is not working in PHP , and i am getting error failed to connect ...
my code is
<?php
//ini_set(sendmail_from, "newsletter@mohoman.org");
//ini_set(sendmail_from,'webserver@localhost');
/ these are just example variables /
$to = aa@hotmail.com';
$subject = 'I Love kittens!';
$body = 'This is the cute body Ive never seen!';
mail($to, $subject, $body);
//ini_restore(sendmail_from);
?>
can any body help me
thanx,
ckb