The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

lsmail - list a mailbox

SYNOPSIS

lsmail [--entities][--header][--nheader][--size] [--threads][--verbose][--help] mailboxes

DESCRIPTION

List the contents of one or more mailboxes. Specifying more than one name is only usefull when you read in threads, in which case the messages of both folders are merged.

Options:

--entities => BOOLEAN

(or -e) show the number of MIME-entities in messages. When --threads is also given, the number is appended to the subject. Slows down lsmail significantly since a mail must be fully parsed to do that.

--size => BOOLEAN

(or -s) also show size of message in non-threaded output.

--header HEADER-FIELD=PATTERN

only display mails whose HEADER-FIELD (for instance 'subject' or 'from') contains PATTERN.

--nheader HEADER-FIELD=PATTERN

do not display mails whose HEADER-FIELD contains PATTERN.

--threads => BOOLEAN

(or -t or -nothreads or -not) list the messages in threads. The messages are sorted on time: the oldest starter comes first.

--help => BOOLEAN

(or --help or -?) Print a brief help

--verbose => BOOLEAN

(or --verbose or --noverbose) Be verbose about the progress of the program. Especially useful for debugging purposes.

AUTHOR

Mark Overmeer (Mark@Overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Additions by Tassilo v. Parseval (tassilo.parseval@post.rwth-aachen.de)

VERSION

This code is beta, version 1.316