why it is showing null when a field in empty in email for strings.

0
Hi, When I uses the entities on html body of an email , and if an string attribute is empty then it is showing null on the email, could you please help me out in this , I want that field to be empty in emails rather than showing null. Thanks.
asked
1 answers
0

Hi Sudhanshu,

It is showing null since it tries to make a string of an empty value. If you want it to show nothing set the string to ‘’ instead of empty.

Hope this helps!

answered