Hi,
nadat ik van hosting bedrijf ben veranderd, keek ik of alles nog klopte als het ging om mijn website.
Helaas kwam ik erachter dan mijn contact systeem niet de opgegeven afzender aangaf welke ik wel had aangegeven.
Normaal zou de afzender bijvoorbeeld "NAAM Website " zijn, echter nu(bij Versio het geval), is het: "RASolutions@vserver2.axc.nl ([email protected])".
Toen ik nog bij mijn vorige host zat werkte het zoals ik het nu heb, nu weet ik helaas niet hoe ik het kan aanpassen naar bijvoorbeeld gewoon RA Solutions of info@rasolutions * nl
Mijn code:
PHP
$weNaam = 'RASolutions';
$eiMail = '[email protected]';
$erMail = '[email protected]';
$nAfzender = 'RASolutions';
$afMail = '**********';
$baMail = '[email protected]';
$aHtml = true;
// De headers samenstellen
$headers = 'From: <' . $weNaam . '> '. PHP_EOL ;
$headers .= 'Reply-To: <' . $nAfzender . '> <' . $eiMail . '>' . PHP_EOL;
$headers .= ($baMail != '') ? 'Bcc: <' . $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 : '';
/*
....
*/
$mail = mail($afMail, "Contact || RASolutions", $sBericht, $headers);
Toon Meer