I want to know what kind of error message is given after my mail function, but I still do not know how. For example in PHP code:
if (mail(..., ..., ..., ...)
echo 'Sent out successfully';
else
{
$wrk = ???;
echo 'Cannot be sent out because of ' . $wrk . '.';
}
Thank you very much for your help!
With kind regards of Jan de Vrije.

