Start
  News
  Suche
 

Direct Mail Formatierung

ASCII

Hat man glücklich den Test-Newsletter verschickt, sieht man, daß noch Handlungsbedarf besteht.

Der ASCII-Newsletter kommt aus der Typo3-Datei media/scripts/plaintext_content.tmpl

Die sieht so aus:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Hello.

This is default template for plain-text mail content

  ###CONTENT###

----------------- FOOTER: ----------------------

  Unsubscribe link:

http://meinedomain.de/?id=3&cmd=edit&aC=###SYS_AUTHCODE###&rU=###USER_uid###

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Das kopiert man und speichert es (umgeschrieben) als Template unter /fileadmin/templates/plaintext_content.tmpl.

WICHTIG: id=3 => da muss natürlich die ID der Newsletter-Anmeldeseite eingetragen werden!! 

Mit ###USER_name### hinter dem Hallo wir der Newsletter personalisiert.

Auf die Seite Direct Mail module kommt in die Constants  

plugin.alt.plaintext.file.template = fileadmin/templates/plaintext_content.tmpl

(natürlich auch in EINE Zeile)

HTML

Zuerst braucht man eine Vorlage, die man zB unter newsletter.html im Vorlagenordner speichert:

 <table width="528">  

<tr><td bgcolor="###LINECOLOR###"><img src="clear.gif"

width="1" height="1" alt="" /></td></tr>

<tr>

<td valign="top"><img src="clear.gif" width="400"

height="1" alt="" /><br />

Hallo ###USER_name###!<br>

###CONTENT_NORMAL###

</td>

</tr>

</table>

<a href="http://www.meinedomain.de/?id=88&cmd=edit&aC=###SYS_AUTHCODE###&rU=###USER_uid###">Abmelden</a><br>

<table border="0" cellpadding="0" cellspacing="0"

width="528">

<tr><td bgcolor="###LINECOLOR###"><img src="clear.gif"

width="1" height="1" alt="" /></td></tr>

<tr valign="top">

</tr>

</table>

Zuerst braucht man eine Vorlage, die man zB unter newsletter.html im Vorlagenordner speichert:

 <table width="528">  

<tr><td bgcolor="###LINECOLOR###"><img src="clear.gif"

width="1" height="1" alt="" /></td></tr>

<tr>

<td valign="top"><img src="clear.gif" width="400"

height="1" alt="" /><br />

Hallo ###USER_name###!<br>

###CONTENT_NORMAL###

</td>

</tr>

</table>

<a href="http://www.meinedomain.de/?id=88&cmd=edit&aC=###SYS_AUTHCODE###&rU=###USER_uid###">Abmelden</a><br>

<table border="0" cellpadding="0" cellspacing="0"

width="528">

<tr><td bgcolor="###LINECOLOR###"><img src="clear.gif"

width="1" height="1" alt="" /></td></tr>

<tr valign="top">

</tr>

</table>