Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<pre><code> $mail = mail($afMail, "Contact || RASolutions", $sBericht, $headers); $emailSent = true; </code></pre> <p>Instead of doing that, check the <code>$mail</code> value, it's the result of the function, true or false.</p> <p>Then, if you try the php side alone, is it working?</p> <p>Like if you run it like this:</p> <pre><code>&lt;?php $_POST['author'] = 'asdasdas'; $_POST['email'] = 'asdasd@free.fr'; $_POST['comment'] = 'asdasd'; if (1 || isset($_POST['submit'])) { $sName = trim($_POST['author']); $sEmail = trim($_POST['email']); $sMessage = trim($_POST['comment']); if (empty($sName)) { $nameError = 'U bent uw naam vergeten'; $hasError = true; } if (empty($sEmail)) { $emailError = 'U bent uw email adres vergeten'; $hasError = true; } elseif (!filter_var($sEmail, FILTER_VALIDATE_EMAIL)) { $emailError = 'Uw mail adres is niet geldig!'; $hasError = true; } if (empty($sMessage)) { $commentError = 'U hebt geen bericht opgegeven'; $hasError = true; } //Mail versturen. if (!isset($hasError)) { $weNaam = 'RASolutions'; $eiMail = 'info@rasolutions.nl'; $erMail = 'info@rasolutions.nl'; $nAfzender = 'RASolutions'; $afMail = '**********@.nl'; $baMail = 'info@seobeheer.nl'; $aHtml = true; // De headers samenstellen $headers = 'From: &lt;' . $weNaam . '&gt; ' . PHP_EOL; $headers .= 'Reply-To: &lt;' . $nAfzender . '&gt; &lt;' . $eiMail . '&gt;' . PHP_EOL; $headers .= ($baMail != '') ? 'Bcc: &lt;' . $baMail . PHP_EOL : ''; $headers .= 'X-Mailer: PHP/' . phpversion() . PHP_EOL; $headers .= 'X-Priority: Normal' . PHP_EOL; $headers .= ($aHtml) ? 'MIME-Version: 1.0' . PHP_EOL : ''; $headers .= ($aHtml) ? 'Content-type: text/html; charset=iso-8859-1' . PHP_EOL : ''; $sBericht = " Beste, &lt;br /&gt; &lt;br /&gt; er is gebruik gemaakt van het contact formulier op RASolutions.&lt;br /&gt; Het mail adres dat hiervoor is gebruikt: &lt;strong&gt;" . $sEmail . "&lt;/strong&gt;, de naam van degene is &lt;strong&gt;" . $sName . "&lt;/strong&gt;.&lt;br /&gt; &lt;br /&gt; &lt;i&gt;Onderstaande het bericht:&lt;/i&gt; " . $sMessage . " &lt;br /&gt; &lt;br /&gt; Met vriendelijke groet, &lt;br /&gt; RASolutions helpdesk. "; //Verzonden. $mail = mail($afMail, "Contact || RASolutions", $sBericht, $headers); var_dump($mail); $emailSent = true; } } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload