diff options
author | Ian C <ianc@noddybox.co.uk> | 2004-08-22 19:03:21 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2004-08-22 19:03:21 +0000 |
commit | 79ebb3ff33dbcf841194bbc0932c070b055b1907 (patch) | |
tree | 9361056b960eb485d334b0faa14628ac833207d2 /src/kbs.c | |
parent | 718b54c985aa2fe7146df39176796ce4d6580504 (diff) |
Diffstat (limited to 'src/kbs.c')
-rw-r--r-- | src/kbs.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -133,6 +133,22 @@ int main(int argc, char *argv[]) int tot=0; int del=0; + if (ConfigInt(CONFIG_DUMPHEADERS)) + { + Log(fp,"---- MESSAGE DUMP ----\n"); + + for(f=0;msg[f].to;f++) + { + Log(fp,"Message %d\n",f+1); + Log(fp,"From %s <%s@%s>\n",msg[f].from, + msg[f].from_uname, + msg[f].from_domain); + Log(fp,"Subject %.40s\n",msg[f].subject); + } + + Log(fp,"---- END MESSAGE DUMP ----\n"); + } + for(f=0;msg[f].to;f++) { tot++; |