I have a simple contact form and I would like the person to send the message, if it succeeds, a popup appears saying the message was sent.
How could I do this?
To help, I'll add part of the code PHP
here:
[..]
$header = implode("\r\n", $headers);
if (mail($to, $subject, $message, $header)) {
echo "concluido";
}
?>