Keep track of envelope from and to headers
[citadel.git] / citadel / msgbase.c
index b6d6a0bc36168cfcd6e1cb440cc7af15d5add2ea..a098a5cb879c90a5ae9b9e4d82e70bf882427cf3 100644 (file)
@@ -1584,6 +1584,12 @@ int CtdlOutputPreLoadedMsg(
                                else if (i == 'Y') {
                                        cprintf("CC: %s%s", mptr, nl);
                                }
+                               else if (i == 'P') {
+                                       cprintf("Return-Path: %s%s", mptr, nl);
+                               }
+                               else if (i == 'V') {
+                                       cprintf("Envelope-To: %s%s", mptr, nl);
+                               }
                                else if (i == 'U') {
                                        cprintf("Subject: %s%s", mptr, nl);
                                        subject_found = 1;