Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
201 lines (102 sloc) 2.83 KB

Commands in envelope mode

The following commands are available in envelope mode:

.. describe:: attach

    attach files to the mail

    argument
        file(s) to attach (accepts wildcads)


.. describe:: edit

    edit mail

    optional arguments
        :---spawn: spawn editor in new terminal
        :---refocus: refocus envelope after editing (defaults to: 'True')

.. describe:: encrypt

    request encryption of message before sendout

    argument
        keyid of the key to encrypt with

    optional arguments
        :---trusted: only add trusted keys

.. describe:: refine

    prompt to change the value of a header

    argument
        header to refine


.. describe:: retag

    set message tags

    argument
        comma separated list of tags


.. describe:: rmencrypt

    do not encrypt to given recipient key

    argument
        keyid of the key to encrypt with


.. describe:: save

    save draft


.. describe:: send

    send mail


.. describe:: set

    set header value

    positional arguments
        0: header to refine
        1: value


    optional arguments
        :---append: keep previous values

.. describe:: sign

    mark mail to be signed before sending

    argument
        which key id to use


.. describe:: tag

    add tags to message

    argument
        comma separated list of tags


.. describe:: toggleencrypt

    toggle if message should be encrypted before sendout

    argument
        keyid of the key to encrypt with

    optional arguments
        :---trusted: only add trusted keys

.. describe:: toggleheaders

    toggle display of all headers


.. describe:: togglesign

    toggle sign status

    argument
        which key id to use


.. describe:: toggletags

    flip presence of tags on message

    argument
        comma separated list of tags


.. describe:: unattach

    remove attachments from current envelope

    argument
        which attached file to remove


.. describe:: unencrypt

    remove request to encrypt message before sending


.. describe:: unset

    remove header field

    argument
        header to refine


.. describe:: unsign

    mark mail not to be signed before sending


.. describe:: untag

    remove tags from message

    argument
        comma separated list of tags