NAME

Email::Folder::DetectType - use heuristics to determine an email folder type

SYNOPSIS

use Email::FolderType qw(folder_type);


print folder_type "~/mymbox";     # prints 'Mbox'
print folder_type "~/a_maildir/"; # prints 'Maildir'
print folder_type "some_mh/.";    # prints 'MH' 	

METHODS

folder_type <file path>

Automatically detects what type of mail archive the file path is and return the type.

DESCRIPTION

Provides a utility module for detecting the type of a given mail box.

BUGS

Currently only handles mbox and maildir

Is generally not very good at the moment.

AUTHOR

Simon Wistow <simon@thegestalt.org>

COPYING

(C)opyright 2003, Simon Wistow

Distributed under the same terms as Perl itself.

This software is under no warranty and will probably ruin your life, kill your friends, burn your house and bring about the apocalypse

SEE ALSO

Email::LocalDelivery, Email::Folder