X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhmail.c;h=6c5039c63b25003209ae990994982fd968316183;hb=0ecdc197e9a9a4d2bb6dce395dea152fbc728b6b;hp=76e9e80095a8383c650ae175d0fcb2c34aa593b6;hpb=cff8de7654cf393a494b01a587bd4d503d15a5e3;p=mmh diff --git a/uip/mhmail.c b/uip/mhmail.c index 76e9e80..6c5039c 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);