Michael Thies <[EMAIL PROTECTED]>:

> Hi You all,
> 
> I wonder, if I could use a my_hdr-command in my .muttrc defaultly like
> send-hook . "my_hdr Return-Receipt-To: "
> and appending the specific email-adress in my editor, when I want to
> get a return-receipt?
> Just like the Cc:, Bcc: or Reply-To: .
> 
> Using a send-hook defined above, my mutt tells me something about
> "ignoring empty header field: Return-Receipt-To:"
> 
> I'm using mutt-1.0pre4 (ok, I could switch to a newer version, but
> would this bring me help?).
> 
> Has anybody any idea, how to realize this?

I can't see why empty my_hdrs are not allowed. Is there any reason why
the following rather negative patch shouldn't be applied?

--- init.c.orig Wed Jan 26 23:15:44 2000
+++ init.c      Wed Jan 26 23:27:58 2000
@@ -583,13 +583,6 @@
     return (-1);
   }
   keylen = p - buf->data + 1;
-  p++;
-  SKIPWS (p);
-  if (!*p)
-  {
-    snprintf (err->data, err->dsize, _("ignoring empty header field: %s"), buf->data);
-    return (-1);
-  }
 
   if (UserHeader)
   {

Reply via email to