]> git.marmaro.de Git - mmh/blobdiff - uip/mhmail.c
For the mhstore -clobber test, cd to the Mail subdirectory so that
[mmh] / uip / mhmail.c
index 76e9e80095a8383c650ae175d0fcb2c34aa593b6..6c5039c63b25003209ae990994982fd968316183 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <h/mh.h>
+#include <h/mts.h>
 #include <h/signals.h>
 #include <h/utils.h>
 #include <signal.h>
@@ -140,6 +141,8 @@ main (int argc, char **argv)
        fprintf (out, "%sSubject: %s\n", resent ? "Resent-" : "", subject);
     if (from)
        fprintf (out, "%sFrom: %s\n", resent ? "Resent-" : "", from);
+    else
+       fprintf (out, "From: %s\n", getlocalmbox ());
     if (!resent)
        fputs ("\n", out);