[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.6.4 Removing Headers

The command remove removes the specified header from the message. The syntax is:

Command: remove [flags] header `['string`]'
Command: remove [flags] `['string`]'

The name of the header to delete is given by string parameter. By default only those headers are removed whose names match it exactly. Optional flags allow to change this behavior. See section 6.5 Regular Expressions, for the detailed description of these.

An example:

remove ["X-Mailer"]
remove :regex ["^X-.*"]

The first example will remove the `X-Mailer:' header from an outgoing message, and the second one will remove all "X-*" headers.

This document was generated by Wojciech Polak on December, 18 2004 using texi2html