I'm working on an web form (one that's for the site admins to use) that is supposed to reply to user sent messages.
The PHP code being used:
$to = "
[email protected]";
$subject = $querystring["subject"];
$body = $_POST["message"];
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
die("<p>Message delivery failed...</p>");
}
Is there anything else that needs to be done to send emails? Or is this disabled from DynaDot servers to prevent spamming or some such?