[TYPO3-UG Freiburg] direct_mail - plaintext

Alisha Huber mail at alisha-huber.de
Fri Feb 26 22:36:04 CET 2010


und ich hab noch ein Problem, an dem ich nun auch schon ne Weile sitze 
und nichts finde.... Eigentlich hab ich mich genau an das Manual 
gehalten, aber irgendwas stimmt wohl nicht.

Ich will html und plaintext verschicken, html ist auch kein Problem, 
aber plaintext kommt nicht richtig an:

zum einen hab ich einen div von feedit-advanced drin in der Mail und zum 
anderen werden die htmlspecialchars nicht "übersetzt". auch listen 
werden nicht richtig dargestellt .Ich vermute also, dass ich grundlegend 
irgendwas verkehrt eingestellt habe.

hier die ersten Zeilen der eingehenden Mail:

<div id="feEditAdvanced-firstWrapper-colPos-0-pages-23" 
class="feEditAdvanced-firstWrapper"></div>
...

&Uuml;berschrift xxy

text text....



------------------------------------------------------------------------------------------
typo3 4.3.1, direct mail 2.6.5

habe entsprechend folgendes im Template (aus dem extension manual:

plugin.tx_directmail_pi1 = USER

plugin.tx_directmail_pi1.userFunc = tx_directmail_pi1->main

plugin.tx_directmail_pi1 {

   siteUrl = http://fairsfr.syscp5.webhosting-franken.de/
   flowedFormat = 0



   header.defaultType = 1

   header.date = D-m-Y

   header.datePrefix = |###HEADER_DATE_PREFIX### |

   header.linkPrefix = | ###HEADER_LINK_PREFIX### |

   header.1.preLineLen = 76

   header.1.postLineLen = 76

   header.1.preBlanks=1

   header.1.stdWrap.case = upper

   header.2 < .header.1

   header.2.preLineChar=*

   header.2.postLineChar=*

   header.3.preBlanks=2

   header.3.postBlanks=1

   header.3.stdWrap.case = upper



   header.4 < .header.1

   header.4.preLineChar= =

   header.4.postLineChar= =

   header.4.preLineBlanks= 1

   header.4.postLineBlanks= 1

   header.5.removeSplitChar = 1

   header.5.preBlanks=1

   header.5.autonumber=1

   header.5.prefix = |: >> |

   defaultOutput (

|

[###UNRENDERED_CONTENT### ###CType### ]

|

   )

   uploads.header = |###UPLOADS_HEADER###|

   images.header = |###IMAGES_HEADER###|

   images.linkPrefix = | ###IMAGE_LINK_PREFIX### |

   images.captionHeader = |###CAPTION_HEADER###|

   bulletlist.0.bullet = |*  |

   bulletlist.1.bullet = |#  |

   bulletlist.2.bullet = | - |

   bulletlist.3.bullet = |>  |

   bulletlist.3.secondRow = |.  |

   bulletlist.3.blanks = 1

   menu =< tt_content.menu.20

   shortcut =< tt_content.shortcut.20

   shortcut.0.conf.tt_content =< plugin.tx_directmail_pi1

   shortcut.0.tables = tt_content

   bodytext.doubleLF = 1

   bodytext.stdWrap.parseFunc.tags {

     link =< lib.parseFunc_RTE.tags.link

     typolist = USER

     typolist.userFunc = tx_directmail_pi1->typolist

     typolist.siteUrl = http://fairsfr.syscp5.webhosting-franken.de/

     typolist.bulletlist =< plugin.tx_directmail_pi1.bulletlist

     typohead = USER

     typohead.userFunc = tx_directmail_pi1->typohead

     typohead.siteUrl = http://fairsfr.syscp5.webhosting-franken.de/

     typohead.header =< plugin.tx_directmail_pi1.header

     typocode = USER

     typocode.userFunc = tx_directmail_pi1->typocode

     typocode.siteUrl = http://fairsfr.syscp5.webhosting-franken.de/

   }

}

includeLibs.tx_directmail_pi1 = 
EXT:direct_mail/pi1/class.tx_directmail_pi1.php

tx_directmail_pi1 >

tx_directmail_pi1 = PAGE

tx_directmail_pi1.typeNum=99

tx_directmail_pi1.config {

disableAllHeaderCode = 1

additionalHeaders = Content-type:text/plain

}

tx_directmail_pi1.10 = TEMPLATE

tx_directmail_pi1.10 {

template = FILE

template.file = fileadmin/template/newsletter_plaintext.tmpl

marks.CONTENT < styles.content.get

marks.CONTENT.renderObj = < plugin.tx_directmail_pi1

marks.DATE = TEXT

marks.DATE.data = date:U

marks.DATE.strftime = %e. %B %Y

}


und diese Konstanten gesetzt:

plugin.tx_directmail_pi1.siteUrl = http://www..../
plugin.tx_directmail_pi1.flowedFormat = 1
plugin.tx_directmail_pi1.doubleLF = 0
plugin.tx_directmail_pi1.removeSplitChar =

constants, setup werden gelöscht, wurzelebene ist aktiviert
statische Templates: css styled content, direkt mail plain text, direkt 
mail content boundaries

und schließlich noch im page-config vom direct-mail-sysordner:

..
mod.web_modules.dmail.priority=3
mod.web_modules.dmail.sendOptions=3
mod.web_modules.dmail.includeMedia=0
mod.web_modules.dmail.flowedFormat=0
mod.web_modules.dmail.plainParams=&type=99
mod.web_modules.dmail.use_domain=0
mod.web_modules.dmail.quick_mail_encoding=quoted-printable
mod.web_modules.dmail.direct_mail_encoding=quoted-printable
mod.web_modules.dmail.quick_mail_charset=utf-8
mod.web_modules.dmail.direct_mail_charset=utf-8
mod.web_modules.dmail.use_rdct=0
mod.web_modules.dmail.long_link_mode=0
mod.web_modules.dmail.enable_jump_url=0
mod.web_modules.dmail.enable_mailto_jump_url=0
mod.web_modules.dmail.testmail=TEST

Hat jemand einen Tipp für mich?
Dieses direct_mail macht mich echt fertig...

Grüße + Danke
Alisha




More information about the TYPO3-UG-Freiburg mailing list