File: components

package info (click to toggle)
nmh 1.8-4
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,860 kB
  • sloc: ansic: 50,445; sh: 22,697; makefile: 1,138; lex: 740; perl: 509; yacc: 265
file content (24 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%; Our default components file.  Used by `comp'
%;
%;
%; This line creates our From: header based on the following ordering:
%;
%; - Use a -from switch if it exists ({from})
%; - Use our local mailbox identity; first from the Local-Mailbox profile
%;   entry, otherwise gets the information from the local system
%;
%<{from}%|%(void(localmbox))%>%(void(width))%(putaddr From: )
%;
%; Here we include an address list if one or more "-to" arguments were
%; given, otherwise just output a blank header.  We do the same for the
%; "cc" header as well.
%;
%<{to}%(void(width))%(putaddr To: )%|To:%>
%<{cc}%(void(width))%(putaddr cc: )%|cc:%>
%;
%; Slight difference here: if we're not given "-fcc" on the command line,
%; make the default mailbox +outbox
%;
Fcc: %<{fcc}%(putstr)%|+outbox%>
Subject:%<{subject} %(putstr)%>
--------