Rechercher une page de manuel
News::AutoReply.3pm
Langue: en
Version: 2010-05-11 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
News::AutoReply - derivative of News::Article for generating autorepliesSYNOPSIS
use News::AutoReply; $reply = News::AutoReply->new($message);
DESCRIPTION
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.
AUTHOR
Andrew Gierth <andrew@erlenstar.demon.co.uk>SOURCE
Contact the author.COPYRIGHT
Copyright 1997 Andrew Gierth <andrew@erlenstar.demon.co.uk>This code may be used and/or distributed under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre