Option to add message content to message system notifications

Version 1.323


http://www.directadmin.com/forum/showthread.php?p=138195#post138195 If you wish to see the message in the notification, the following token has been added: |MESSAGE| To use it, type: cd /usr/local/directadmin/data/templates/custom cp ../message_*.txt . This will copy the message_user.txt and message_tech.txt to the custom templates folder. Edit these files and insert the |MESSAGE| token wherever you wish. Note that this token is not sanitized for any characters. For plaintext emails, this should be fine (to the best of my knowledge at this time) If you have <html> at the top of your message templates and are using html emails, I wouldn't recommend using this token. For one, the client could send you malicious emails. Another reason is that newlines wouldn't have <br> on them, thus the message would be a bit messy. Enhancements to this token may come at a future time, if any are required.

Interested to try DirectAdmin? Get a 30-day Free Trial!