nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] whatnow attach usage


From: der_wachtmeister
Subject: Re: [Nmh-workers] whatnow attach usage
Date: Sat, 15 Jul 2006 21:01:56 +0200

> > Hi Philipp,
> > 
> > > I wonder how I'd use the 'attach' option on the 'What now?' prompt.
> > > Whenever I use it I get "whatnow: can't attach because no header field
> > > name was given."
> > 
> > As a side note, whatnow(1) mentions "-attach header-field-name" in
> > SYNOPSIS, but doesn't describe its use in DESCRIPTION.
> > 
> > Cheers,
> > 
> > 
> > Ralph.
> 
> Sounds like the manual page needs some work.  Sorry 'bout that.  Add
> the following two lines to your .mh_profile:
> 
>       send: -attach X-MH-Attachment
>       whatnow: -attach X-MH-Attachment
> 
> Then it will work.  The reason for this is that I did not want to hardwire
> the attachment field name into the code because of the potential to conflict
> with something else.

I added those 2 lines to .mh_profile but still doesn't work.
Error message:

  mhbuild: draft shouldn't contain MIME-Version: field

And this is the draft message:

  To:address@hidden
  cc:
  From:address@hidden
  Fcc: +outbox
  Subject:test attach
  X-MH-Attachment: /Users/phil/Desktop
  X-MH-Attachment: /Users/phil/Desktop/Job-Sites.pdf
  MIME-Version: 1.0
  Content-Type: text/plain; charset="us-ascii"
  Content-ID: <address@hidden>

  asdf


Philipp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]