This commit has been accessed 612 times via Git panel.
commit 655702909064d7dd9790943ea3e58abb6ded92d6
tree 43a5af3dfb38ef73575e940343614e75fb3e8fb5
parent 4fe03ece161296e372462c13b324d5242d2089a0
author Engels Antonio <engels@majcms.org> 1340763264 +0800
committer Engels Antonio <engels@majcms.org> 1340763264 +0800
Add original message information when forwarding
diff --git a/send.php b/send.php
index dbaa4d9..054d630 100644
--- a/send.php
+++ b/send.php
@@ -211,6 +211,15 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
if ($_POST['rep'] == 2) {
echo "---------------------------------------- Begin Forwarded Message ----------------------------------------\r\n";
+ echo "From: $header_fromaddress\r\n";
+ echo "To: $header_toaddress\r\n";
+
+ if (strlen($header_ccaddress) != 0) {
+ echo "Cc: $header_ccaddress\r\n";
+ }
+
+ echo "Date: $header_date\r\n";
+ echo "Subject: $header_subject\r\n\r\n";
}
echo $reply_quote;
tree 43a5af3dfb38ef73575e940343614e75fb3e8fb5
parent 4fe03ece161296e372462c13b324d5242d2089a0
author Engels Antonio <engels@majcms.org> 1340763264 +0800
committer Engels Antonio <engels@majcms.org> 1340763264 +0800
Add original message information when forwarding
diff --git a/send.php b/send.php
index dbaa4d9..054d630 100644
--- a/send.php
+++ b/send.php
@@ -211,6 +211,15 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
if ($_POST['rep'] == 2) {
echo "---------------------------------------- Begin Forwarded Message ----------------------------------------\r\n";
+ echo "From: $header_fromaddress\r\n";
+ echo "To: $header_toaddress\r\n";
+
+ if (strlen($header_ccaddress) != 0) {
+ echo "Cc: $header_ccaddress\r\n";
+ }
+
+ echo "Date: $header_date\r\n";
+ echo "Subject: $header_subject\r\n\r\n";
}
echo $reply_quote;