<?php
if (mail("[email protected]","Subject","Email message","From: [email protected]")) {
echo 'Email sent successfully...';
} else {
echo 'Problems with sending email...';
}
?>
All appears to be good, but no email shows up. Is there some setup I should be taking care of to make this work properly? Secondarily, in which error log might I be looking for an indication of what’s going on?