nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Dealing with missing From: header during send.

2012-01-10 11:23:03
On Tue, Jan 10, 2012 at 4:56 AM, Ralph Corderoy 
<ralph(_at_)inputplus(_dot_)co(_dot_)uk> wrote:
Hi Earl,

  %(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\
  %(formataddr{to})%(formataddr{cc})%(formataddr(me))\
  %<(match example1.com)From: earl(_at_)example1(_dot_)com\n\
  %?(match example2.com)From: ehood(_at_)example2(_dot_)com\n\
  %|From: earl(_at_)earlhood(_dot_)com\n%>\

Does this shed any light?  match seems to work here.

   $ c='%(lit)%(formataddr 
%<{reply-to}%?{from}%?{sender}%?{return-path}%>)%(formataddr{to})%(formataddr{cc})%(formataddr(me))'

Yes, that works, but as I noted, when in a replcomps, further
attempts to access {to} and other components return empty
values.

--ewh

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>