IMO ``sent'' specifies more exactly what it contains. ``outbox'' would
mean to me that these messages are prepared for delivery, but are not
already sent.
23 files changed:
ignores=msgid,message-id,received,content-type,content-transfer-encoding,content-id
Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
To:
ignores=msgid,message-id,received,content-type,content-transfer-encoding,content-id
Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
To:
From:decode
Subject:decode
:
From:decode
Subject:decode
:
Date:formatfield="%<(nodate{text})%{text}%|%(tws{text})%>"
From:
To:
Date:formatfield="%<(nodate{text})%{text}%|%(tws{text})%>"
From:
To:
Subject:
:
body:nocomponent,overflowoffset=0,noleftadjust,nocompress
Subject:
:
body:nocomponent,overflowoffset=0,noleftadjust,nocompress
ignores=msgid,message-id,received,content-type,content-transfer-encoding,content-id
Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
To:
ignores=msgid,message-id,received,content-type,content-transfer-encoding,content-id
Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
To:
From:decode
Subject:decode
:
From:decode
Subject:decode
:
%(lit)%(formataddr{addresses})\
%<(nonnull)%(void(width))%(putaddr Resent-To: )\n%>\
%(lit)%(formataddr{addresses})\
%<(nonnull)%(void(width))%(putaddr Resent-To: )\n%>\
-%; These next lines slurp in lots of addresses for To: and cc:.
+%; These next lines slurp in lots of addresses for To: and Cc:.
%; Use with repl -query or else you may get flooded with addresses!
%;
%; Use with repl -query or else you may get flooded with addresses!
%;
-%; If no To:/cc:/Fcc: text, we output empty fields for prompter to fill in.
+%; If no To:/Cc:/Fcc: text, we output empty fields for prompter to fill in.
%;
%(lit)%(formataddr{reply-to})\
%(formataddr %<{from}%(void{from})%|%(void{apparently-from})%>)\
%;
%(lit)%(formataddr{reply-to})\
%(formataddr %<{from}%(void{from})%|%(void{apparently-from})%>)\
%(formataddr{resent-cc})\
%(formataddr{prev-resent-cc})\
%(formataddr(me))\
%(formataddr{resent-cc})\
%(formataddr{prev-resent-cc})\
%(formataddr(me))\
-%(void(width))%(putaddr cc: )
-Fcc: %<{fcc}%{fcc}%|+outbox%>
+%(void(width))%(putaddr Cc: )
+Fcc: %<{fcc}%{fcc}%|+sent%>
Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
%;
%; Make References: and In-reply-to: fields for threading.
Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
%;
%; Make References: and In-reply-to: fields for threading.
-%; cc: To (and)
-%; cc (and)
+%; Cc: To (and)
+%; Cc (and)
%; personal address
%;
%(lit)%(formataddr{mail-followup-to})\
%; personal address
%;
%(lit)%(formataddr{mail-followup-to})\
%(lit)%(formataddr %<{mail-reply-to}%?{reply-to}%?{from}%?{sender}%?{return-path}%>)\
%<(nonnull)%(void(width))%(putaddr To: )\n%>\
%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
%(lit)%(formataddr %<{mail-reply-to}%?{reply-to}%?{from}%?{sender}%?{return-path}%>)\
%<(nonnull)%(void(width))%(putaddr To: )\n%>\
%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
-%<(nonnull)%(void(width))%(putaddr cc: )\n%>%>\
+%<(nonnull)%(void(width))%(putaddr Cc: )\n%>%>\
-Fcc: %<{fcc}%{fcc}%|+outbox%>
+Fcc: %<{fcc}%{fcc}%|+sent%>
Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
%;
%; Make References: and In-reply-to: fields for threading.
Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
%;
%; Make References: and In-reply-to: fields for threading.
.PP
Only those addresses in
.RI \*(lq Resent\-To: \*(rq,
.PP
Only those addresses in
.RI \*(lq Resent\-To: \*(rq,
-.RI \*(lq Resent\-cc: \*(rq,
+.RI \*(lq Resent\-Cc: \*(rq,
and
.RI \*(lq Resent\-Bcc: \*(rq
will be sent. Also, a
and
.RI \*(lq Resent\-Bcc: \*(rq
will be sent. Also, a
.RE
.PP
If the result is non-null, it is printed as above with a
.RE
.PP
If the result is non-null, it is printed as above with a
-leading label of \*(lqcc:\*(rq.
+leading label of \*(lqCc:\*(rq.
.PP
The text for most formatted components (e.g., \*(lqDate:\*(rq and
\*(lqMessage\-Id:\*(rq) is produced automatically. The only ones entered
.PP
The text for most formatted components (e.g., \*(lqDate:\*(rq and
\*(lqMessage\-Id:\*(rq) is produced automatically. The only ones entered
-by the user are address fields such as \*(lqTo:\*(rq, \*(lqcc:\*(rq,
+by the user are address fields such as \*(lqTo:\*(rq, \*(lqCc:\*(rq,
etc. Internet addresses are assigned mailbox names and host computer
specifications. The rough format is \*(lqlocal@domain\*(rq, such as
\*(lqMH@UCI\*(rq, or \*(lqMH@UCI\-ICSA.ARPA\*(rq. Multiple addresses
etc. Internet addresses are assigned mailbox names and host computer
specifications. The rough format is \*(lqlocal@domain\*(rq, such as
\*(lqMH@UCI\*(rq, or \*(lqMH@UCI\-ICSA.ARPA\*(rq. Multiple addresses
will be added to the draft. If this header is not available, then the
return addresses will be constructed from the \*(lqMail-Reply\-To:\*(rq,
or \*(lqReply\-To:\*(rq, or \*(lqFrom:\*(rq, along with adding the
will be added to the draft. If this header is not available, then the
return addresses will be constructed from the \*(lqMail-Reply\-To:\*(rq,
or \*(lqReply\-To:\*(rq, or \*(lqFrom:\*(rq, along with adding the
-addresses from the headers \*(lqTo:\*(rq, \*(lqcc:\*(rq, as well as
+addresses from the headers \*(lqTo:\*(rq, \*(lqCc:\*(rq, as well as
adding your personal address.
.RE
.PP
adding your personal address.
.RE
.PP
-Still more recipients. See \*(lqcc:\*(rq and \*(lqResent\-To:\*(rq.
+Still more recipients. See \*(lqCc:\*(rq and \*(lqResent\-To:\*(rq.
.RE
.PP
.BR Resent\-Bcc :
.RE
.PP
.BR Resent\-Bcc :
.RS 5
.nf
To: nobody@nowhere.org
.RS 5
.nf
To: nobody@nowhere.org
Subject: Look and listen to me!
--------
The first part will be text/plain
Subject: Look and listen to me!
--------
The first part will be text/plain
field. If the
.B \-cc
switch is used, all addresses following it are
field. If the
.B \-cc
switch is used, all addresses following it are
-placed in the \*(lqcc:\*(rq field.
+placed in the \*(lqCc:\*(rq field.
.RE
.PP
It is used to pick a component which is not one of \*(lqTo:\*(rq,
.RE
.PP
It is used to pick a component which is not one of \*(lqTo:\*(rq,
-\*(lqcc:\*(rq, \*(lqDate:\*(rq, \*(lqFrom:\*(rq, or \*(lqSubject:\*(rq.
+\*(lqCc:\*(rq, \*(lqDate:\*(rq, \*(lqFrom:\*(rq, or \*(lqSubject:\*(rq.
An example is
.RB \*(lq "pick\0\-\|\-reply\-to\0pooh" \*(rq.
.PP
An example is
.RB \*(lq "pick\0\-\|\-reply\-to\0pooh" \*(rq.
.PP
will not normally be called directly by the user.
.PP
.B Post
will not normally be called directly by the user.
.PP
.B Post
-searches the \*(lqTo:\*(rq, \*(lqcc:\*(rq, \*(lqBcc:\*(rq,
+searches the \*(lqTo:\*(rq, \*(lqCc:\*(rq, \*(lqBcc:\*(rq,
\*(lqFcc:\*(rq, and \*(lqResent\-xxx:\*(rq header lines of the specified
message for destination addresses, checks these addresses for validity,
and formats them so as to conform to ARPAnet Internet Message Format
\*(lqFcc:\*(rq, and \*(lqResent\-xxx:\*(rq header lines of the specified
message for destination addresses, checks these addresses for validity,
and formats them so as to conform to ARPAnet Internet Message Format
.RS 5
.nf
To: <Mail\-Reply\-To> or <Reply\-To> or <From>
.RS 5
.nf
To: <Mail\-Reply\-To> or <Reply\-To> or <From>
-cc: <To> and <cc> and <personal address>
-Fcc: {fcc switch} or +outbox
+Cc: <To> and <Cc> and <personal address>
+Fcc: {fcc switch} or +sent
Subject: Re: <Subject>
In\-Reply\-To: <Message\-Id>
References: <Message\-Id>
Subject: Re: <Subject>
In\-Reply\-To: <Message\-Id>
References: <Message\-Id>
contents of the named field from the message to which the reply is
being made.
.PP
contents of the named field from the message to which the reply is
being made.
.PP
-By default, the \*(lqcc:\*(rq field is empty. You may selectively add
+By default, the \*(lqCc:\*(rq field is empty. You may selectively add
addresses to this default with the
.B \-cc
.I type
addresses to this default with the
.B \-cc
.I type
argument (
.IR all / to / cc / me )
which specifies who gets added to the default
argument (
.IR all / to / cc / me )
which specifies who gets added to the default
-\*(lqcc:\*(rq list of the reply. You may give this switch multiple times (with
+\*(lqCc:\*(rq list of the reply. You may give this switch multiple times (with
different arguments) if you wish to add multiple types of addresses.
.PP
If the switch
different arguments) if you wish to add multiple types of addresses.
.PP
If the switch
.RS 5
.nf
To: <Mail\-Reply\-To> or <Reply\-To> or <From>
.RS 5
.nf
To: <Mail\-Reply\-To> or <Reply\-To> or <From>
-cc: <To> and <cc> and <personal address>
+Cc: <To> and <Cc> and <personal address>
Subject: Re: <Subject>
In\-Reply\-To: Message from <From> of <Date>.
.ti +\w'In\-Reply\-To: 'u
Subject: Re: <Subject>
In\-Reply\-To: Message from <From> of <Date>.
.ti +\w'In\-Reply\-To: 'u
-By default, the \*(lqcc:\*(rq contains all the addresses shown. You may
+By default, the \*(lqCc:\*(rq contains all the addresses shown. You may
selectively remove addresses from this default with the
.B \-nocc
.I type
selectively remove addresses from this default with the
.B \-nocc
.I type
This switch takes an argument (
.IR all / to / cc / me )
which specifies who gets removed
This switch takes an argument (
.IR all / to / cc / me )
which specifies who gets removed
-from the default \*(lqcc:\*(rq list of the reply. You may give this switch
+from the default \*(lqCc:\*(rq list of the reply. You may give this switch
multiple times (with different arguments) if you wish to remove multiple types
of addresses.
.PP
multiple times (with different arguments) if you wish to remove multiple types
of addresses.
.PP
.I type
switch by
interactively asking you if each address that normally would be placed in
.I type
switch by
interactively asking you if each address that normally would be placed in
-the \*(lqTo:\*(rq and \*(lqcc:\*(rq list should actually be sent a copy.
+the \*(lqTo:\*(rq and \*(lqCc:\*(rq list should actually be sent a copy.
This is useful for special\-purpose replies. Note that the position of
the
.B \-cc
This is useful for special\-purpose replies. Note that the position of
the
.B \-cc
switches, like all other switches which take a
positive and negative form, is important.
.PP
switches, like all other switches which take a
positive and negative form, is important.
.PP
-Lines beginning with the fields \*(lqTo:\*(rq, \*(lqcc:\*(rq, and
+Lines beginning with the fields \*(lqTo:\*(rq, \*(lqCc:\*(rq, and
\*(rqBcc:\*(rq will be standardized and have duplicate addresses removed.
In addition, the
.B \-width
\*(rqBcc:\*(rq will be standardized and have duplicate addresses removed.
In addition, the
.B \-width
.PP
Although the default template specifies that a copy of the reply will be
put in
.PP
Although the default template specifies that a copy of the reply will be
put in
if the
.B \-fcc
.I +folder
if the
.B \-fcc
.I +folder
.SH DESCRIPTION
.B Send
will cause each of the specified messages to be delivered
.SH DESCRIPTION
.B Send
will cause each of the specified messages to be delivered
-to each of the destinations in the \*(lqTo:\*(rq, \*(lqcc:\*(rq,
+to each of the destinations in the \*(lqTo:\*(rq, \*(lqCc:\*(rq,
\*(lqBcc:\*(rq, \*(lqDcc:\*(rq, and \*(lqFcc:\*(rq fields of the message. If
.B send
is re\-distributing a message, as invoked from
\*(lqBcc:\*(rq, \*(lqDcc:\*(rq, and \*(lqFcc:\*(rq fields of the message. If
.B send
is re\-distributing a message, as invoked from
By using the
.B \-format
switch, each of the entries in the \*(lqTo:\*(rq
By using the
.B \-format
switch, each of the entries in the \*(lqTo:\*(rq
-and \*(lqcc:\*(rq fields will be replaced with \*(lqstandard\*(rq
+and \*(lqCc:\*(rq fields will be replaced with \*(lqstandard\*(rq
format entries. This standard format is designed to be usable by all
of the message handlers on the various systems around the Internet.
If
format entries. This standard format is designed to be usable by all
of the message handlers on the various systems around the Internet.
If
mkdraft() {
cat > $draft <<EOF
To:
mkdraft() {
cat > $draft <<EOF
To:
Subject:
--------
#forw [forwarded messages] +inbox 1 2
Subject:
--------
#forw [forwarded messages] +inbox 1 2
# check mhbuild
cat > $expected <<EOF
To:
# check mhbuild
cat > $expected <<EOF
To:
Subject:
MIME-Version: 1.0
Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa0"
Subject:
MIME-Version: 1.0
Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa0"
# check mhbuild -rfc934
cat > $expected <<EOF
To:
# check mhbuild -rfc934
cat > $expected <<EOF
To:
Subject:
MIME-Version: 1.0
Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa0"
Subject:
MIME-Version: 1.0
Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa0"
{ "Resent-Sender", ADDRFMT },
{ "Resent-Reply-To", ADDRFMT },
{ "Resent-To", ADDRFMT },
{ "Resent-Sender", ADDRFMT },
{ "Resent-Reply-To", ADDRFMT },
{ "Resent-To", ADDRFMT },
- { "Resent-cc", ADDRFMT },
+ { "Resent-Cc", ADDRFMT },
{ "Resent-Bcc", ADDRFMT },
{ "Face", FACEFMT },
{ NULL, 0 }
{ "Resent-Bcc", ADDRFMT },
{ "Face", FACEFMT },
{ NULL, 0 }
fprintf(out, "%sTo: %s\n", resent ? "Resent-" : "", tolist);
if (cclist)
fprintf(out, "%sTo: %s\n", resent ? "Resent-" : "", tolist);
if (cclist)
- fprintf(out, "%scc: %s\n", resent ? "Resent-" : "", cclist);
+ fprintf(out, "%sCc: %s\n", resent ? "Resent-" : "", cclist);
if (subject)
fprintf(out, "%sSubject: %s\n", resent ? "Resent-" : "", subject);
if (from)
if (subject)
fprintf(out, "%sSubject: %s\n", resent ? "Resent-" : "", subject);
if (from)
{ "Resent-From", NULL, P_ADR },
{ "Resent-Sender", NULL, P_ADR },
{ "Resent-To", NULL, P_ADR },
{ "Resent-From", NULL, P_ADR },
{ "Resent-Sender", NULL, P_ADR },
{ "Resent-To", NULL, P_ADR },
- { "Resent-cc", NULL, P_ADR },
+ { "Resent-Cc", NULL, P_ADR },
{ "Resent-Date", HNOP, MRDT },
{ "Resent-Subject", HSUB, 0 },
{ "Resent-To", HADR|HTRY, MVIS },
{ "Resent-Date", HNOP, MRDT },
{ "Resent-Subject", HSUB, 0 },
{ "Resent-To", HADR|HTRY, MVIS },
- { "Resent-cc", HADR|HTRY, MVIS },
+ { "Resent-Cc", HADR|HTRY, MVIS },
{ "Resent-Bcc", HADR|HTRY|HBCC, MINV },
{ "Resent-Message-Id", HBAD, 0 },
{ "Resent-Fcc", HFCC, 0 },
{ "Resent-Bcc", HADR|HTRY|HBCC, MINV },
{ "Resent-Message-Id", HBAD, 0 },
{ "Resent-Fcc", HFCC, 0 },