[TYPO3-english] Direct Mail: css added to header is removed when mail is sent
Otto van Bruggen
otto at webspinnerij.nl
Thu Mar 12 16:31:16 CET 2009
The question with sending newsletters is not so much TYPO3 but all the
different e-mail clients receiving the mails.
Look at the site www.campaignmonitor.com for an in depth look in sending
newsletters.
Tha decide wheter it is TYPO3 not sending the code or an e-mail client not
showing the code.
Regards,
Otto van Bruggen
Op 12-03-09 10:17, Jacob Schmidt <list at rootmedia.dk> schreef:
> Hi List,
>
> Im having a problem with Direct Mail 2.6.2
>
> I have created a sysfolder for Direct Mail according to the manual.
> Created a extension template for the sysfolder, added the following TS.
>
> #remove js
> config.removeDefaultJS = 1
> #
> config.inlineStyle2TempFile = 0
>
> #clear headerData
> page.headerData >
> #clear any included css
> page.includeCSS >
>
> #add css for newsletter to header
> page.headerData.1 = TEXT
> page.headerData.1.value (
> <style type="text/css">
> <!--
> Styles that I would like to be added in the header for use in newsletter
> -->
> </style>
> )
>
> Using Direct Mail I create a page for the newsletter. Previewing the
> newsletter, everything is fine, my css is added.
>
> But when I mail the page the css is removed from the header, resulting
> in a newsletter with no styles. Format of mail content Plain Text, HTML
>
> How do i fix this? What did I miss?
>
>
> Thanks,
>
> /Jacob S.
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list