X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/cff8de7654cf393a494b01a587bd4d503d15a5e3..25e24258978e1f341310cded67598fe9ccd4a652:/uip/mhmail.c?ds=sidebyside diff --git a/uip/mhmail.c b/uip/mhmail.c index 76e9e800..6c5039c6 100644 --- a/uip/mhmail.c +++ b/uip/mhmail.c @@ -8,6 +8,7 @@ */ #include +#include #include #include #include @@ -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);