So what do you get as the error message? Does it just return failed? Also, I think using parentheses with echo statements like yours is unnecessary.
> Keith Aldridge wrote:
> New to php, can't see the problem with mail().
><?php
> if (mail($to, $subj, $body)) { echo "Successful send"; }
> else { echo "Failed"; }
> ?>
--
Ashwin Purohit
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

