So hab mal bissl rumgebastelt.
Mein mail_template sieht so aus:
PHP-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->charset; ?>">
<meta name="Generator" content="Contao Open Source CMS">
<title><?php echo $this->title; ?></title>
<?php echo $this->css; ?>
</head>
<body bgcolor="#16497c" style="background-color:#16497c;font-size:14px;font-family: Calibri, Helvetica,Verdana, sans-serif;color:#666;">
<style type="text/css">
a {color: #003399;}
h1 {font-size:22px;font-family: Calibri, Helvetica,Verdana, sans-serif;color:#666; border-left:5px solid #16497c;}
p,ul,ul li {font-size:14px;font-family: Calibri, Helvetica,Verdana, sans-serif;color:#666;}
</style>
<div>
<div style="text-align:center;">
<a href=""><img src="logo.png" width="248" height="80" /></a>
</div>
<?php echo $this->body; ?>
<div>
<table width="100%" cellpadding="10" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><p><strong>INFORMIERT</strong></p></td>
</tr>
<tr>
<td><p>Du hast den Newsletter von xxx aboniert, wenn du keine E-Mail mehr erhalten willst klicke hier.</p>
<p>Informier dich:<br>
<a href="" target="_blank">Facebook</a><br>
<a href="" target="_blank">Twitter</a><br>
<a href="" target="_blank">Forum</a></p></td>
</tr>
</table>
</div>
</div>
</body>
</html>
und dann habe ich im tinyme ne vorlage erstellt.
Code:
<table width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<table width="100%" cellpadding="10" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><h1 style="font-size:22px;margin:0px;">eine Überschrift</h1></td>
</tr>
<tr>
<td><p>Text hier rein</p></td>
</tr>
</table>
</td>
</tr>
</table>
meine Frage, ist es ok so, oder gibt es noch bessere Lösungen? Anzeigen tut es den aber ganz gut
Lesezeichen