Additional information
You will notice that different mail-from addresses can be used, based on the outcome of a condition.
Mail From Address and Mail From Name
Retrieving mail-from addresses and names can be automated through variables. On the Mail From Addresses tab of the Document Types (ttrpi2510m000) session, you can specify a variable also directly in the Mail From Address and Mail From Name fields. For example, specify the variables #mail.from# and #mail.from.name# in these fields.
On the Variables tab of the Report Rule (ttrpi2520m100) session, you then specify the report rule mapping expression for the variables.
For example, you can specify this expression for the #mail.from# variable:
select tccom100.cdf_mail
from tccom100
where tccom100._index1 = {:#bp}
selectdo
return(tccom100.cdf_mail)
endselect
return(“”)