hee jongens,
ik heb een php inlog script die een activatie email stuurt. nou is het probleem alleen dat dit emailtje bij hotmail in de spam map terecht komt.. weet iemand hoe ik dit kan verhelpen?
hier het script:
en mn language file:
ik heb een php inlog script die een activatie email stuurt. nou is het probleem alleen dat dit emailtje bij hotmail in de spam map terecht komt.. weet iemand hoe ik dit kan verhelpen?
hier het script:
PHP:
if($qry == TRUE) {
$txt_reg_mail_msg = $txt_reg_mail_msg1 . $reg_user . $txt_reg_mail_msg2;
$txt_reg_mail_msg .= 'http://www.domain.com/activate/'.mysql_insert_id().'/'. $cfrmcode. " \n\n";
$txt_reg_mail_msg .= $txt_reg_mail_msg3;
$mail = mail($reg_email, $txt_reg_mail_subject ,$txt_reg_mail_msg,"From: domain <no-reply@ domain.com>");
if($mail == TRUE) {
header('Location: registered');
}else{
echo 'Error 1003<BR><BR>' . $error;
}
}else{
echo 'Error 1004<BR><BR>' . $error;
}
en mn language file:
PHP:
$txt_reg_mail_msg1 = 'Congratulations with your registration on domain!' . "\n";
$txt_reg_mail_msg1 .= 'Your account is registered as "' ;
$txt_reg_mail_msg2 = '"' . ", this is your username to login on the website.\n\n";
$txt_reg_mail_msg2 .= 'Click on the link below to activate your account:' . "\n\n";
$txt_reg_mail_msg3 = 'Kind Regards,' . "\n\n";
$txt_reg_mail_msg3 .= 'Employees' . "\n";
$txt_reg_mail_msg3 .= 'domain' . "\n";