email_template {rj} | R Documentation |
Interpolate article values into a template, and create a new (unsent)
email in your default mail client. The email is created using
browseURL
and the mailto protocol, so it must be relatively
brief.
email_template(article, template)
article |
An article id, e.g. |
template |
The name of a template (without extension) found
in |
The template should be divided into header and body with ---
.
The header should contain fields and values separated by :
-
only a limited
The templates use whisker to insert template values. These have the form
{{field_name}}
. You can use any field from the description as
well as the following special fields:
name: the name of the first author
email: email address of first author
editor: name of editor
me: your name, as determine by envvar RJ_NAME