Previous: Mail Methods, Up: Message Generation


4.2.2 Message Customization

When preparing a message, Patcher can fill some parts of it for you. Here's a list of mail-related project options.

:user-name
The name (your name) to use when composing the message. It will affect the From: header. This option is used by all mail methods but fake. If not given, user-full-name is used.
:user-mail
The mail (your mail) address to use when composing the message. It will affect the From: header. This option is used by all mail methods but fake. If not given, user-mail-address is used.
:to-address
The address to send messages to (a string). This option is used by all mail methods but gnus and fake. If not given, it is prompted for when calling patcher-mail.
:gnus-group
The Gnus group name to use for posting messages (a string). This option is used only by the gnus mail method. If not given, it is prompted for when calling patcher-mail.

Note that if you configured your name and mail in Gnus, for instance through posting styles, these configurations take precedence over the corresponding Patcher options.

:subject-prefix
A prefix for the subject line of messages. It can be nil or a string. By default, “[PATCH]” is used. This part of subjects is never prompted for. The subject prefix understands ‘%n’ and ‘%N’ substitutions. See Diff Command, and Project Naming for more information. Also, a space is inserted between the prefix and the remainder of the subject, when appropriate.
:subject
A default value for prompted subjects (a string). Please note that this is used only to provide a default value for prompted subjects. Subjects are always prompted for. The subject understands ‘%n’ and ‘%N’ substitutions. See Diff Command, and Project Naming for more information.
:mail-prologue
A prologue to insert at the top of a message body (a string).