fm_grom

Semicolon showing up in cc field in WebDirect send mail script

Discussion created by fm_grom on Aug 11, 2016
Latest reply on Aug 11, 2016 by fm_grom

I am using the send mail script to send emails to our clients. In the CC: step I am using the calculation:

 

CustomerRecords::Picture_Email_2  & "; " & CustomerRecords::Picture_Email_3

 

On the desktop version of FMP14 it works perfectly, adding in 2 email addresses when they are present, and leaving the CC: blank in the email if there is no second or third email address.

 

When the same script is run in WebDirect, the semicolon appears when there is no second or third email address to send to. Is there a better way to separate the email addresses than inserting the semicolon here or is there something else I can do to keep it from showing up in WebDirect.

 

I did a search for this already but couldn't find the answer I was looking for. Thanks for any help on this.

Outcomes