./config/main.inc.php:// includes should be interpreted as PHP files$rcmail_config['skin_include_php'] = TRUE;I have it never tried ...
Works for me ...You can't place php code directly in the template, but you can include php scripts if setting is true: