Hi-
I currently have the following code in one of my scripts:
$to = $link->{'Email'};
This sets $to equal to the value of the field 'Email'. I was trying to figure out how to modify this so that in the case where there is a value for the field 'Alt_Email', then it would set $to to this value instead of 'Email'.
Does anyone know how to add that condition to make this work? I was trying various combinations, but couldn't get it to work.
--Frank
I currently have the following code in one of my scripts:
$to = $link->{'Email'};
This sets $to equal to the value of the field 'Email'. I was trying to figure out how to modify this so that in the case where there is a value for the field 'Alt_Email', then it would set $to to this value instead of 'Email'.
Does anyone know how to add that condition to make this work? I was trying various combinations, but couldn't get it to work.
--Frank