AnsweredAssumed Answered

Script to send mail, choosing the most valid email address from two options.

Question asked by DV on Feb 5, 2014
Latest reply on Feb 5, 2014 by philmcgeehan

Title

Script to send mail, choosing the most valid email address from two options.

Post

      

     Hi there, 

     Specific contacts in our database can be linked to either 1  and sometimes two email addresses.

      

     I'm looking for a script that does the following

      

     if email field 1 has an email address, when user sends email it goes to this email - email 1.

     if email 1 is empty however, the email will be sent to the second email address - email 2.

      

     the email should never go out to both email addresses. 

     Any thoughts?

      

      

Outcomes