<<< Date Index >>>     <<< Thread Index >>>

Re: from & to fields



* Thorsten Haude <mutt@xxxxxxxxxxxxxx> [2004-08-11 20:52 +0200]:
> Understood, but I see a problem: $reverse_hook *is* set in my case,
> why would my problem go away of I used a folder-hook (instead of a
> send-hook) to set my From:?

'set from' can be used with folder-hooks, and $from does not interfere
with reverse_name. IIRC you have to use my_hdr From within send-hooks,
which does overwrite reverse_name.

* Thorsten Haude <mutt@xxxxxxxxxxxxxx> [2004-08-11 20:58 +0200]:
> * Nicolas Rachinsky wrote (2004-08-10 01:41):
> >The following is just speculation, I haven't tried anything in that
> >way. Does unmyhdr From in the default hook work? Or if you unmyhdr it
> >just before sending the mail? 
> 
> A short test seem to indicate that this indeed works:
>     send-hook . 'unmy_hdr From:'

Hm, sounds interesting. Perhaps I should use this.

> Thank you very much!

I'm glad that my wild guessing has helped you.

Nicolas