|
NAMEEmail::FolderType::Net - Recognize folder types for network based message protocols.VERSIONversion 1.043SYNOPSISuse Email::FolderType qw[folder_type]; my $type = folder_type($folder) || 'unknown'; print "$folder is type $type.\n"; DESCRIPTIONRegisters several mail folder types that are known as network based messaging protocols. Folder names for these protocols should be specified using a URI syntax.IMAPprint 'IMAP' if folder_type('imap://foo.com/folder') eq 'IMAP'; Returns this folder type if the scheme is "imap". IMAPSprint 'IMAPS' if folder_type('imaps://example.com') eq 'IMAPS'; Returns this folder type if the scheme is "imaps". POP3print 'POP3' if folder_type('pop3://example.com:110') eq 'POP3'; Returns this folder type if the schem is "pop" or "pop3". POP3Sprint 'POP3S' if folder_type('pops://foo.com') eq 'POP3S'; returns this folder type if the scheme is "pops" or "pop3s". SEE ALSOEmail::FolderType, Email::FolderType::Local, URI.AUTHORCasey West <casey@geeknest.com>COPYRIGHT AND LICENSEThis software is copyright (c) 2004 by Casey West <casey@geeknest.com>.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |