Da ich Probleme mit der Codierung in der Plain Text Version der Bestellbestätigung habe, würde ich die Bestellung gerne mit HTML Mails abwickeln.
Dazu habe ich im Constant Editor zunächst die HTML Mails aktiviert (plugin.tt_products.orderEmail_htmlmail = 1) und dann folgenden Code in mein Template eingefügt:
[TS]<!-- ###EMAIL_HTML_SHELL### begin
This is wrapping HTML code for the HTML-emails sent. The marker, HTML_BODY, is substituted with the order content.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Typo3 Shopping HTML-email wrapper</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="Typo 3.1 CMS" />
</head>
<body bgcolor="#FBF9F7" link="black" vlink="black" alink="black" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10">
###HTML_BODY###
</body></html>
<!-- ###EMAIL_HTML_SHELL### end-->[/TS]
Die Mail, die ich bekomme ist zwar eine HTML Mail, besteht aber aus dem EMAIL_PLAINTEXT_TEMPLATE und dem BASKET_ORDERCONFIRMATION_TEMPLATE. Wie bekomme ich das EMAIL_PLAINTEXT_TEMPLATE aus der Mail?
Ich habe [url=http://www.typo3.net/forum/list/list_post//40429/?page=3#pid152724]gelesen[/url], dass der Marker ###HTML_BODY### einfach den Templatebereich aus dem EMAIL_PLAINTEXT_TEMPLATE einfügen sollte. Wie berhält sich ###HTML_BODY### genau?
Hier noch der Quelltext der Mails, die ich erhalte:
[HTML][...]
X-Mailer: PHP mailer
X-Priority: 3
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="----------part_1_46475924ecf44"
Date: Sun, 13 May 2007 20:29:56 +0200
This is a multi-part message in MIME format.
------------part_1_46475924ecf44
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
************************************************************************
* BESTELLBEST=C3=84TIGUNG:
************************************************************************
[...]
Teil vom EMAIL_PLAINTEXT_TEMPLATE
[...]
------------part_1_46475924ecf44
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
[...]
Teil vom BASKET_ORDERCONFIRMATION_TEMPLATE
[...]
------------part_1_46475924ecf44--
[/HTML]
Bin wirklich für jede Hilfe dankbar.

