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 ($Result===false)?"-false-":"-$Result-";

instead

-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de  +49-711-99091-77

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to