Author: jfthomps
Date: Fri Jun 14 14:57:41 2019
New Revision: 1861348
URL: http://svn.apache.org/viewvc?rev=1861348&view=rev
Log:
updated formatting
Modified:
vcl/site/trunk/content/docs/htmlemailmessages.mdtext
Modified: vcl/site/trunk/content/docs/htmlemailmessages.mdtext
URL:
http://svn.apache.org/viewvc/vcl/site/trunk/content/docs/htmlemailmessages.mdtext?rev=1861348&r1=1861347&r2=1861348&view=diff
==============================================================================
--- vcl/site/trunk/content/docs/htmlemailmessages.mdtext (original)
+++ vcl/site/trunk/content/docs/htmlemailmessages.mdtext Fri Jun 14 14:57:41
2019
@@ -16,8 +16,6 @@ Notice: Licensed to the Apache Softwa
specific language governing permissions and limitations
under the License.
-#Customization of Email messages with HTML content
-
Email messages sent out to VCL users can be customized under the Site
Configuration part of the
site. However, HTML content is not allowed to be entered via the web form for
security reasons.
VCL 2.5.1 introduced a method of including HTML content in the email messages
using a command
@@ -25,36 +23,36 @@ line script run from a management node.
code. The same substitution available in plain text messages can be used in
the HTML messages.
Usage:
-<pre><code>
-vclmessages.pl --getmessagenames
-vclmessages.pl --dumpmessage '<name of message>'
-vclmessages.pl --setmessage '<name of message>' --htmlfile
<filename> --subject <message subject>
-vclmessages.pl --resetmessage '<name of message>'
-vclmessages.pl --help|-?
-</code></pre>
+ :::BashLexer
+ vclmessages.pl --getmessagenames
+ vclmessages.pl --dumpmessage '<name of message>'
+ vclmessages.pl --setmessage '<name of message>' --htmlfile
<filename> --subject <message subject>
+ vclmessages.pl --resetmessage '<name of message>'
+
+ vclmessages.pl --help|-?
Where
---getmessagenames displays a list of all available names that can be used<br>
---dumpmessage displays the current value of a message<br>
---setmessage sets the value of a message to the contents of the specified
file<br>
---resetmessage sets the value of a message back to the original value as
distributed with VCL<br>
+--**getmessagenames** displays a list of all available names that can be
used<br>
+--**dumpmessage** displays the current value of a message<br>
+--**setmessage** sets the value of a message to the contents of the specified
file<br>
+--**resetmessage** sets the value of a message back to the original value as
distributed with VCL<br>
-<name of message> = the name of the message from the database (enclose
in single quotes)<br>
+<**name of message**> = the name of the message from the database
(enclose in single quotes)<br>
<span style="margin-left:40px;">(use --getmessagenames to get a list of
message names)</span>
-<filename> = filename (including path) of file containing html contents
for email message
+<**filename**> = filename (including path) of file containing html
contents for email message
-<message subject> = subject for email message (enclose in single quotes)
+<**message subject**> = subject for email message (enclose in single
quotes)
-So, use "--getmessagenames" to get a list of all of the messages that can be
set. Use
-"--dumpmessage" to see the current contents of a message.
+So, use "--**getmessagenames**" to get a list of all of the messages that can
be set. Use
+"--**dumpmessage**" to see the current contents of a message.
To set a new message, create a file containing the HTML that you would like
used as the message.
-Then, use "--setmessage" to set the contents of the message, specifying both a
message subject and
+Then, use "--**setmessage**" to set the contents of the message, specifying
both a message subject and
the file containing the contents of the HTML message. To reset a message back
to the stock message
-supplied at VCL installation, use "--resetmessage". Only the "Global"
messages can be reset.
+supplied at VCL installation, use "--**resetmessage**". Only the "Global"
messages can be reset.
To set a new message for a specific affiliation, an affiliation specific
message, plain text
message needs to be created through the web UI first. Then, that message can
be converted to HTML