TYPOlight Open Source CMS > TYPOlight forum

Switch to german forum

Index > Announcements > Personalized newsletter

leo
Administrator
Avatar
Posts: 6827
München, Germany
As from version 2.6.1, you will be able to send personalized newsletters to members. Due to data security regulations, storing more than the e-mail address when subscribing to a channel will still not be supported. Personalized newsletters can only be sent to registered members.

When the newsletter is sent, the module checks for a matching e-mail address in tl_member and loads the firstname and lastname if so. You can use the following code in your text and HTML content:

iconCode:
{if:male}Dear Mr. ##firstname## ##lastname##,{/if}
{if:female}Dear Mrs. ##firstname## ##lastname##,{/if}
{else}Dear Customer,{/if}

rest of the message...

This seems like a good compromise between sending personalized mails and obeying privacy rules. In addition, I am fulfilling the promise I gave to Janis, who arranged that TYPOlight is permanently listed at wikipedia. Thanks a lot for your help again.


P.S.: If you want to know when version 2.6.1 is being released, take a look at the roadmap :)
18/09/2008 23:26
PaoloB
User
Avatar
Posts: 155
Italy
:) :) :)
very good function

Thanks Leo
Paolo B.
TYPOlightcms.it - Sito di riferimento per la comunità italiana
18/09/2008 23:35
leo
Administrator
Avatar
Posts: 6827
München, Germany
Since I have received a lot of additional feature wishes, I decided to implement a more complex parser that allows you to select any tl_member field and use it in an if/else block:

iconCode:
{if gender=="male"}
Dear Mr. ##lastname##,
{elseif gender=="female"}
Dear Mrs. ##lastname##,
{else}
Dear customer,
{endif}

this is the message.

{if phone==""}
Please update your personal data and enter a phone number.
{endif}

Kind regards
19/09/2008 14:30
Jimmy-Rittenborg
User
Avatar
Thats pretty nice in the inbox!! - but also pretty not nice in the frontend newsletter reader :)
07/12/2008 02:48