General-Purpose Mail Package
|Official GNU Software|
Switches to compose mode. After composing the message, sends it to the specified addresses.
record variable is set, the composed message will be
saved in the folder named by it.
outfolder variable is set, and has a string value s,
the filename is s/recipient. If it is a boolean,
folder variable is consulted. If it is set, then the
filename is folder/recipient. Otherwise, the
message will not be saved.
The value recipient is derived from the email of the first
recipient of the message. By default it is a local part of that
email. If the
outfilename variable has the value
‘domain’, the domain part of the email is used. If this
variable is set to ‘email’, then entire email address is
See saving mail by name, for a detailed discussion.
Mail a reply message to all recipients included in the header of the
message. The subject header is formed by concatenating the
value of the
replyprefix variable and the subject from the
record is set to a filename, the response is
saved at the end of that file.
Mail a reply message to the sender of each message in the msglist.
The subject header is formed by concatenating the value of the
replyprefix variable and the subject header of from the
first message in msglist. If
record is set to a
filename, the response is saved at the end of that file.
Notice, that setting mail variable
flipr (see Mail Variables) swaps the meanings of the two above commands
Respond to message, recording the response in a file whose name is derived from the author of the message. See saving mail by name, for a discussion of how the file name is selected.
Reply, but the response is saved in a file whose name
is derived from the author of the first message. See saving mail by name, for a detailed discussion of how the file name is selected.
fullnames variable (see fullnames).
To determine the sender of the message
If the previous step did not determine the sender address, the address from SMTP envelope is used.
Let’s illustrate this. Suppose your mailbox contains the following:
U 1 email@example.com Fri Jun 30 18:30 8/245 Re: The Sa ? Print 1 From: Antonius Block <firstname.lastname@example.org> To: Smeden Plog <email@example.com> Date: Tue, 27 Apr 2004 13:23:41 +0300 Reply-To: <firstname.lastname@example.org> Subject: News Hi
Now, you issue the following commands:
? sender mail-followup-to reply-to from ? reply To: <email@example.com> Subject: Re: News
As you see, the value of
Reply-To field was taken as the
Now, let’s try the following command sequence:
# Clear the sender list ? nosender # Set new sender list ? sender From
From address will be taken:
? reply To: Antonius Block <firstname.lastname@example.org> Subject: Re: News
This document was generated on August 5, 2021 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.