[PHP-WEBMASTER] [web-news] master: Add mailto: link for getting archive copies of emails

Author: Jim Winstead (jimwins)
Date: 2024-09-24T17:12:14-07:00

Commit: Add mailto: link for getting archive copies of emails · php/web-news@b65ef47 · GitHub
Raw diff: https://github.com/php/web-news/commit/b65ef47e2bb39eaf226cfb262266539bc74a8c25.diff

Add mailto: link for getting archive copies of emails

Changed paths:
  M article.php

Diff:

diff --git a/article.php b/article.php
index d944049..4d346f6 100644
--- a/article.php
+++ b/article.php
@@ -112,6 +112,13 @@
     echo "</td>\n";
}
echo " </tr>\n";
+# email to request archived copy
+$request_address = get_list_address($group) . '+get-' . $article . '@lists.php.net';
+echo ' <tr>' . "\n";
+echo ' <td class="headerlabel">Request:</td>' . "\n";
+echo ' <td class="headervalue" colspan="3">Send a blank email to <a href="mailto:’ . clean($request_address) . '">' . clean($request_address) . "</a> to get a copy of this message</td>\n";
+echo " </tr>\n";
+echo " <tr>\n";
echo " </table>\n";
echo " </blockquote>\n";
echo " <blockquote>\n";