Q:

Typo3 - Custom email newsletters with direct_mail

Im building a newsletter and the start is like this:
DEAR ###USER_gender### ###USER_first_name### ###USER_last_name###

which outpouts
DEAR ###USER_gender### JOHN DOE

and I was hoping it would replace the gender mark with "Miss" and "Sir", depending on the value. How could I do this?

A:

Extra fields have to be added to the field list (see docu). But I'm not sure whether this automatically works with non-string fields. Maybe using a hook is your solution or using another extension which adds a new field to tt_address.

