Moin Jungs & Mäddels,
schaut mal, was mach ich falsch... die Mail kommt konstant als Plain Text an und lässt sich nicht als HTML Version betrachten, das mach ich falsch:
PHP-Code:
$message = '<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>GProfit.de Newsletter 02 2010</title>
<style type="text/css" media="screen">
body {
background-color: #e6e6e6;
background: url(http://gprofit.de/newsletter/10/02/bg.jpg);
background-position: top center;
background-repeat: no-repeat repeat-y;
margin: 0;
padding: 0;
}
a img {
border: none;
}
table.main {
background-color: #ffffff;
}
td.permission {
padding: 10px 0 10px 0;
}
td.permission p {
font-family: Arial;
font-size: 11px;
font-weight: normal;
color: #333333;
margin: 0;
padding: 0;
}
td.permission p a {
font-family: Arial;
font-size: 11px;
font-weight: normal;
color: #333333;
}
td.header {
background-color: #5dac29;
padding: 0 0 2px 0;
}
td.header h1 {
font-family: \'Gill Sans\', \'Arial Black\', sans-serif;
font-size: 35px;
font-weight: bold;
color: #ffffff;
margin: 0 0 0 10px;
padding: 0;
display: inline;
}
td.date {
padding: 8px 0 8px 0;
}
td.date p {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #666666;
margin: 0;
padding: 0;
}
td.sidebar ul {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #000000;
margin: 10px 0 10px 24px;
padding: 0;
}
td.sidebar ul li a {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #000000;
text-decoration: none;
}
td.sidebar p {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #4c4c4c;
margin: 10px 0 0 0;
padding: 0;
}
td.sidebar p a {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #6cb9ce;
}
td.sidebar h4 {
font-family: Georgia;
font-size: 13px;
font-weight: bold;
color: #333333;
margin: 14px 0 0 0;
padding: 0;
}
td.sideHeader h3 {
font-family: Georgia, serif;
font-size: 18px;
font-weight: bold;
color: #ffffff;
margin: 0;
padding: 0;
}
td.sideTitle h3 {
font-family: Georgia, serif;
font-size: 18px;
font-weight: bold;
color: #ffffff;
margin: 0;
padding: 0;
}
td.mainbar h2 {
font-family: Georgia;
font-size: 18px;
font-weight: bold;
color: #ffffff;
margin: 0;
padding: 0;
}
td.mainbar h2 a {
font-family: Georgia;
font-size: 18px;
font-weight: bold;
color: #ffffff;
text-decoration: none;
}
td.mainbar p {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #4c4c4c;
margin: 10px 0 0 0;
padding: 0;
}
td.mainbar p.more {
padding: 0 0 10px 0;
}
td.mainbar p a {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #6cb9ce;
}
td.mainbar p img {
border-bottom: 4px solid #edc913;
}
td.mainbar ul {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #4c4c4c;
margin: 10px 0 10px 0;
padding: 0;
list-style-position: inside;
}
td.footer {
padding: 10px 0 10px 0;
}
td.footer p {
font-family: Arial;
font-size: 11px;
font-weight: normal;
color: #333333;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<table width="100%" cellspacing="10" cellpadding="0">
<tr>
<td align="center" valign="top">
<table width="580" border="0" cellspacing="0" cellpadding="0" class="main">
<tr>
<td align="center" class="permission">
<p>Dieser Newsletter wird zur Verfügung gestellt von .</p>
<p>Kein Interesse mehr am Newsletter? <unsubscribe>Abbestellen</unsubscribe>. Probleme mit der Darstellung dieser Email? <webversion><a href="http://gprofit.de/newsletter/">Seite im Browser ansehen</a></webversion>.</p>
</td>
</tr>
<tr>
<td height="90" valign="bottom" align="left" class="header">
<img src="http://gprofit.de/newsletter/10/02/header.gif" width="580" height="90" alt="ABC Widgets" />
</td>
</tr>
<tr>
<td align="center">
<table width="550" cellspacing="0" cellpadding="0">
<tr>
<td width="192"></td>
<td></td>
<td class="date"><p>Sonntag, 28. Februar 2010</p></td>
</tr>
<tr align="left" rowspan="3" valign="top">
<td width="192" valign="top" class="sidebar" align="left">
<table width="100%" cellspacing="0" cellpadding="4" bgcolor="#eeeeee">
<tr>
<td bgcolor="#000000" class="sideHeader">
<h3>News</h3>
</td>
</tr>
<tr>
<td>
<ul>
<li><a href="#">26.02.2010 | Ford Ka<br />Hohe Vergütung für Probefahrt!</a></li>
<li><a href="#">21.02.2010 | RefRallye<br />Ausahlungen wurden soeben getätigt</a></li>
</ul>
</td>
</tr>
</table>
<img src="http://gprofit.de/newsletter/10/02/smallspacer.gif" width="192" height="25" />
<table width="100%" cellspacing="0" cellpadding="4" bgcolor="#000000">
<tr>
<td class="sideTitle">
<h3>Andere News</h3>
</td>
</tr>
</table>
<h4>GProfit im März.</h4>
<p>Für März stehen dicke Rallyes und weitere dicke Sachen an.</p>
<img src="http://gprofit.de/newsletter/10/02/smallhr.gif" width="190" height="19" />
<h4>Rekordmonat Februar</h4>
<p>Durch die Aktionen in den letzten Wochen des Monats haben wir eine neuen Mitgliederrekord.</p>
<img src="http://gprofit.de/newsletter/10/02/smallhr.gif" width="190" height="19" />
<img src="http://gprofit.de/newsletter/10/02/smallspacer.gif" width="192" height="25" />
<table width="100%" cellspacing="0" cellpadding="4" bgcolor="#000000">
<tr>
<td class="sideTitle">
<h3>Weitersagen</h3>
</td>
</tr>
</table>
<p>Du möchtest jemanden nach GProfit einladen und 10% seines Umsatzes für dich ausgezahlt bekommen? Dann empfehle GProfit.de an einen Freund. <forwardtoafriend>Jetzt Freund einladen.</forwardtoafriend>.</p>
<img src="http://gprofit.de/newsletter/10/02/smallhr.gif" width="190" height="19" />
<img src="http://gprofit.de/newsletter/10/02/smallspacer.gif" width="192" height="25" />
<table width="100%" cellspacing="0" cellpadding="4" bgcolor="#000000">
<tr>
<td class="sideTitle">
<h3>Abmelden</h3>
</td>
</tr>
</table>
<p>Um den Newsletter abzubestellen besuche bitte diesen Link.</p>
<img src="http://gprofit.de/newsletter/10/02/smallhr.gif" width="190" height="19" />
</td>
<td width="28"></td>
<td width="330" valign="top" class="mainbar" align="left">
<table cellspacing="0" cellpadding="4" bgcolor="#000000">
<tr>
<td>
<h2>Schnell gutes Geld im Internet</h2>
</td>
</tr>
</table>
<p>Jetzt kostenlos auf <a href="http://www.gprofit.de" title="GProfit.de Webseite besuchen">www.GProfit.de</a> anmelden und bares Geld verdienen!<br />
Du bist knapp bei Kasse oder würdest gerne etwas mehr zurücklegen?<br />
Du willst dir schnell und einfach ein paar Euro dazuverdienen?<br />
Dann bist du bei GProfit genau richtig!<br />
Bei uns verdienst du Geld für die Teilnahme an unseren kostenlosen Aktionen.</p>
<p class="more"><a href="http://gprofit.de/principle.php">Mehr lesen</a></p>
<img src="http://gprofit.de/newsletter/10/02/hr.gif" width="329" height="27" />
<table cellspacing="0" cellpadding="4" bgcolor="#000000">
<tr>
<td>
<h2>Unser Service ist einmalig im Web!</h2>
</td>
</tr>
</table>
<p><img src="http://gprofit.de/newsletter/10/02/contentImage.jpg" /></p>
<p>Du kannst an Gewinnspielen teilnehmen, Newsletter abbonieren, dich in Communities anmelden und viel mehr und bekommst dafür von uns eine kleine aber feine Vergütung!
Ja, du hast richtig gelesen! Du bekommst Geld für das, was du wahrscheinlich so oder so schon häufig im Internet machst!</p>
<p class="more"><a href="http://gprofit.de/vantages.php">Mehr lesen</a></p>
<img src="http://gprofit.de/newsletter/10/02/hr.gif" width="329" height="27" />
<table cellspacing="0" cellpadding="4" bgcolor="#000000">
<tr>
<td>
<h2>Wir stehen für Qualität</h2>
</td>
</tr>
</table>
<p>Und das beste ist, unsere Aktionen sind alle seriös und 100% kostenlos!<br />
Keine Abofallen und keine versteckten Kosten, das garantieren wir dir!<br /><br />Schon in wenigen Tagen kannst du die Auszahlungsgrenze von nur 5 Euro erreichen und wir zahlen wir den Betrag binnen ein paar weiterer Tage auf dein PayPal- oder Bankkonto aus!</p>
<ul>
<li>Hohe Vergütungen</li>
<li>Zuverlässige Auszahlungsrotationen</li>
<li>Nur kontrollierte Partner</li>
</ul>
<p class="more"><a href="http://gprofit.de/faq.php">Mehr lesen</a></p>
<img src="http://gprofit.de/newsletter/10/02/hr.gif" width="329" height="27" />
<table cellspacing="0" cellpadding="4" bgcolor="#000000">
<tr>
<td>
<h2>Mitmachen = mitverdienen!</h2>
</td>
</tr>
</table>
<p><img src="http://gprofit.de/newsletter/10/02/contentImage2.jpg" width="206" height="118" alt="Mitmachen und Mitverdienen!" align="left" hspace="10" />Und das war noch nicht mal alles! Wirb Freunde, Bekannte, Angehörige oder Geschäftspartner und du erhällst dauerhaft 10% auf deren Verdienste, einfach so ohne noch etwas dafür zu tun!<br />
10 geworbene Freunde verdienen jede Woche 10 Euro, das würde für dich schon weitere 10 Euro pro Woche.<br />
<br />
Und um dir deinen Start auf GProfit noch angenehmer zu gestalten, bekommst du von uns 1 Euro Startbonus geschenkt! Gib einfach bei der Registrierung auf www.GProfit.de den Gutscheincode "Diebgame" ein und dann kannst du auch schon loslegen.
<br /><br />
<br />
Die <a href="http://gprofit.de/signup.php" title="Jetzt anmelden!">Anmeldung</a> ist kostenlos und unverbindlich, probiere es doch einfach aus.
Verdiene jetzt auf <a href="http://www.gprofit.de" title="GProfit Website besuchen">www.GProfit.de</a></p>
<p class="more"><a href="http://gprofit.de/signup.php">Jetzt anmelden</a></p>
<img src="http://gprofit.de/newsletter/10/02/hr.gif" width="329" height="27" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="footer">
<p>© 2009 GProfit.de.</p>
<p>GProfit.de — Rika NetMarketing GmbH, Hastenrather Weg 81, 52249 Eschweiler, Deutschland</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html> ';
$to = "testaddy@gmx.de";
$subject = "Betrefftext";
$xtra = "From: ab@sender.de (Ab Sender)\r\n";
$xtra .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";
$xtra .= "X-Mailer: PHP ". phpversion();
mail($to,
$subject,
$message,
$xtra);
Liebe Grüße,
Kori