These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Template variables for emails on the new forum.
Are there any variables (like $DOM, $USER etc.) that can be used in auto response emails?
I am trying to use a single message template as shown below so that I don't have to change them for each and every domain. However, the email that is sent actually contains $DOM rather than the domain name. Is this possible? I have tried using ${DOM}, $DOM and $mydomain but emails don't recognise any of these, it just prints it out as text.
Email message format in auto-response:
<HTML>
<p>Please note that <strong>${DOM}</strong> has now closed and is<br>
in the process of being deleted.</p>
<p>If you are interested in purchasing the domain name <strong>${DOM}</strong><br>
then please contact XXX.example.com for further details with the subject<br>
"Sales Enquiry: ${DOM}"</p>
<p>Please note that your email has <strong>not</strong> been delivered.</p>
<p>We apologise for any inconvenience.</p>
</HTML>
Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)