News::AutoReply(3pm)

News::AutoReply3pm

Derivative of news::article for generating autoreplies

Usage

  use News::AutoReply;
  $reply = News::AutoReply->new($message);

Overview

Like News::Article, but must be given a reference to another article at creation time - initialises To, In-Reply-To, References etc. correctly as an automatic reply.

Usage

  use News::AutoReply;

Exports nothing.

Constructor

new ( ORIGINAL )

Construct an autoreply to a message, assuming that the Reply-To (if present, otherwise the From) header of "ORIGINAL" is valid.

Returns a new Article object with no body or envelope sender, but with suitable headers.

If an environment variable LOOP is defined, it is used as the contents of an X-Loop header added to the reply (this is useful when using this code in progs launched from a procmail recipe). Always preserves X-Loop headers in the original.

The reference-folding code could probably be improved.

Source

Contact the author.

Releases

10 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0–7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12–13

Author

Andrew Gierth <[email protected]>

From libnews-article-perl 1.27-12 in Debian 13 (Trixie). Parsed by carta from the page's man source.