How can I check a problem with mail being sent on my server?
I run a simple test:

```
if(mail($to, $subject, $message)) {
echo 'Mail Sent';
}

```

which the test outputs the text; but, no mail ever arrives.

How can I go about tracking down the issue?