Salutation of first name, BUT what if there is no first name

Use this forum to suggest new features, language support, documentation, etc. for OpenEMM's roadmap

Moderator: moderator

fredf
Posts: 1
Joined: Mon Aug 24, 2009 3:20 pm

Salutation of first name, BUT what if there is no first name

Post by fredf »

In our situation all of our emails will begin with Dear FIRSTNAME however if the customer didn't provide a first name (therefore this field is blank in the database) then we want them to be greeted as Dear Colleague. We put 'colleague' in as a salutation but can find no information as to how you code the email to basically say 'use what exists in the firstname field but if the firstname field is null then use Colleague'. How do we do this?
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

If you do not have a firstname you could set gender to unknown and use the neutral salutation. Or you could define your own database field and use if for the salutation.
OpenEMM Maintainer
Post Reply