Dear Jani,
The mail() function returns either TRUE if mail was sent and FALSE if
not.
That's not correct. The mail() function gives NO result back, if the
mail was sent and NO result, if the mail was not sent.
Or what return value did you mean?
Does it always return FALSE?
I've outputed
Star-Tools Team wrote:
I've outputed the return value by using the following code:
$Result = mail(...)
echo "-$Result-";
The output was "--"!
so $Result was either empty or 'false'
as false converts to an empty string
you might try this instead:
echo