Nieuw lid |
|
Hallo,
Via onderstaande code verstuur ik mails waarop de mensen zich persoonlijk ingeschreven hebben.
Helaas stel ik vast dat de mensen met een hotmail adres deze mail niet ontvangen.
Wat kan ik daaraan doen ? Is de code verkeerd ?
Thankx
$naam=stripslashes($obj->naam);
$email=stripslashes($obj->email);
$id=stripslashes($obj->id);
$usercode=stripslashes($obj->usercode);
$subject = "HK westerring ";
$subject .= date('d-m-y');
$headers = "From : onze club<club@club.be>\r\n";
$headers .= "X-Priority: 3\r\n"; // 1 == urgent
$headers .= "X-MSMail-Priority: High\r\n";
//hotmail and others dont like PHP mailer.
$header .= "X-Mailer: Microsoft Office Outlook, Build 11.0.5510\r\n";
$headers .= "Reply-To: club <club@club.be>\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$message = "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html;charset=iso-8859-1\">
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"><HTML>
<HEAD><TITLE>Club Nieuwsbrief</TITLE>
<META http-equiv=Content-Type content=\"text/html; charset=iso-8859-1\">
<META content=\"MSHTML 6.00.2716.2200\" name=GENERATOR>
<STYLE></STYLE>
<style>
a:link {
color: #006600;
text-decoration: none;
font-weight: bold;
background-color: #00ff00;
}
a:visited { color: #006600; background-color: #FFFF00; text-decoration: none; }
a:active { color: #006600; background-color: #FFFF00; text-decoration: none;}
a:hover { color: #333333; background-color: #FFFF00; text-decoration: none;}
</style>
</HEAD>
<BODY bgColor=#00ff00>
<DIV> enz ........
$subject = "HK westerring "; $subject .= date('d-m-y'); $headers = "From : onze club<club@club.be>\r\n"; $headers .= "X-Priority: 3\r\n"; // 1 == urgent $headers .= "X-MSMail-Priority: High\r\n"; //hotmail and others dont like PHP mailer. $header .= "X-Mailer: Microsoft Office Outlook, Build 11.0.5510\r\n"; $headers .= "Reply-To: club <club@club.be>\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $message = "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html;charset=iso-8859-1\"> <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"><HTML> <HEAD><TITLE>Club Nieuwsbrief</TITLE> <META http-equiv=Content-Type content=\"text/html; charset=iso-8859-1\"> <META content=\"MSHTML 6.00.2716.2200\" name=GENERATOR> <STYLE></STYLE> <style> a:link { color: #006600; text-decoration: none; font-weight: bold; background-color: #00ff00; } a:visited { color: #006600; background-color: #FFFF00; text-decoration: none; } a:active { color: #006600; background-color: #FFFF00; text-decoration: none;} a:hover { color: #333333; background-color: #FFFF00; text-decoration: none;} </style> </HEAD> <BODY bgColor=#00ff00> <DIV> enz ........
|