I would like to include the recipient's email address in my email disclaimer. I know that to include an
html disclaimer, I have to create an
html file and refer to it in the
main.inc.php file as show below:
// path to a text file which will be added to each sent HTML message
// paths are relative to the Roundcube root folder
$rcmail_config['generic_message_footer_html'] = 'path/to/disclaimer.html';I want my disclaimer to be in the form:
This message is intended only for recipient@somedomain.com. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
I have tried using
<?php echo $to; ?>
and
<?php echo $mailto; ?>
as the recipient email address in my
disclaimer.html file, but when an email is sent, in each case the recipient only gets the following message:
This message is intended only for . If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
How can I resolve this? (I'm using RoundCube 0.9.2)