Author: buildbot
Date: Fri Jun 14 14:57:48 2019
New Revision: 1046291
Log:
Staging update by buildbot for vcl
Modified:
websites/staging/vcl/trunk/content/ (props changed)
websites/staging/vcl/trunk/content/docs/htmlemailmessages.html
Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jun 14 14:57:48 2019
@@ -1 +1 @@
-1861347
+1861348
Modified: websites/staging/vcl/trunk/content/docs/htmlemailmessages.html
==============================================================================
--- websites/staging/vcl/trunk/content/docs/htmlemailmessages.html (original)
+++ websites/staging/vcl/trunk/content/docs/htmlemailmessages.html Fri Jun 14
14:57:48 2019
@@ -106,35 +106,36 @@ h2:hover > .headerlink, h3:hover > .head
visibility: hidden;
}
h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink,
h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink,
dt:hover > .elementid-permalink { visibility: visible }</style>
-<h1 id="customization-of-email-messages-with-html-content">Customization of
Email messages with HTML content<a class="headerlink"
href="#customization-of-email-messages-with-html-content" title="Permanent
link">¶</a></h1>
<p>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
line script run from a management node. The script is in the bin directory of
the management node
code. The same substitution available in plain text messages can be used in
the HTML messages.</p>
-<p>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>'</p>
-<p>vclmessages.pl --help|-?
-</code></pre></p>
+<p>Usage:</p>
+<div class="codehilite"><pre><span class="n">vclmessages</span><span
class="p">.</span><span class="n">pl</span> <span class="o">--</span><span
class="n">getmessagenames</span>
+<span class="n">vclmessages</span><span class="p">.</span><span
class="n">pl</span> <span class="o">--</span><span class="n">dumpmessage</span>
<span class="s">'&lt;name of message&gt;'</span>
+<span class="n">vclmessages</span><span class="p">.</span><span
class="n">pl</span> <span class="o">--</span><span class="n">setmessage</span>
<span class="s">'&lt;name of message&gt;'</span> <span
class="o">--</span><span class="n">htmlfile</span> <span
class="o">&</span><span class="n">lt</span><span class="p">;</span><span
class="n">filename</span><span class="o">&</span><span
class="n">gt</span><span class="p">;</span> <span class="o">--</span><span
class="n">subject</span> <span class="o">&</span><span
class="n">lt</span><span class="p">;</span><span class="n">message</span> <span
class="n">subject</span><span class="o">&</span><span
class="n">gt</span><span class="p">;</span>
+<span class="n">vclmessages</span><span class="p">.</span><span
class="n">pl</span> <span class="o">--</span><span
class="n">resetmessage</span> <span class="s">'&lt;name of
message&gt;'</span>
+
+<span class="n">vclmessages</span><span class="p">.</span><span
class="n">pl</span> <span class="o">--</span><span class="n">help</span><span
class="o">|-</span>?
+</pre></div>
+
+
<p>Where</p>
-<p>--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></p>
-<p><name of message> = the name of the message from the database
(enclose in single quotes)<br>
+<p>--<strong>getmessagenames</strong> displays a list of all available names
that can be used<br>
+--<strong>dumpmessage</strong> displays the current value of a message<br>
+--<strong>setmessage</strong> sets the value of a message to the contents of
the specified file<br>
+--<strong>resetmessage</strong> sets the value of a message back to the
original value as distributed with VCL<br></p>
+<p><<strong>name of message</strong>> = 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></p>
-<p><filename> = filename (including path) of file containing html
contents for email message</p>
-<p><message subject> = subject for email message (enclose in single
quotes)</p>
-<p>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.</p>
+<p><<strong>filename</strong>> = filename (including path) of file
containing html contents for email message</p>
+<p><<strong>message subject</strong>> = subject for email message
(enclose in single quotes)</p>
+<p>So, use "--<strong>getmessagenames</strong>" to get a list of all of the
messages that can be set. Use
+"--<strong>dumpmessage</strong>" to see the current contents of a message.</p>
<p>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 "--<strong>setmessage</strong>" 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.</p>
+supplied at VCL installation, use "--<strong>resetmessage</strong>". Only the
"Global" messages can be reset.</p>
<p>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
using the script.</p>