This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new ce6bd68f4 Updates stage by Jenkins
ce6bd68f4 is described below

commit ce6bd68f439a39db0e575e380879265765a27548
Author: jenkins <bui...@apache.org>
AuthorDate: Wed Oct 26 07:32:02 2022 +0000

    Updates stage by Jenkins
---
 content/mail.html | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/content/mail.html b/content/mail.html
index 482e276d9..808b52cbd 100644
--- a/content/mail.html
+++ b/content/mail.html
@@ -190,6 +190,25 @@ to unsubscribe someone you can email:</p>
 <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>{listname}-unsubscribe-badboy=menace....@tlp.apache.org
 </code></pre></div></div>
 
+<h3 id="unsubscribe-from-the-users-mailing-list">Unsubscribe from the Users 
mailing list</h3>
+
+<script>
+function generate(form) {
+  var badBoy=form[0];
+  var email = 'user-unsubscribe-' + badBoy.value.replace('@', '=') + 
'@struts.apache.org';
+  var link = document.getElementById('ready-email');
+  link.style.visibility = 'visible';
+  link.href = 'mailto:' + email;
+}
+</script>
+
+<form action="javascript: void(0);">
+    <label for="bad-boy">Paste user email address</label>
+    <input id="bad-boy" type="text" />
+    <input type="button" value="Generate" onclick="generate(this.form)" />
+    <div><a style="visibility: hidden" id="ready-email" 
href="#">Unsubscribe</a></div>
+</form>
+
 <h2 id="guidelines">Guidelines</h2>
 
 <p>Mailing lists provide a simple and effective communication mechanism. With 
potentially thousands of subscribers, there 

Reply via email to