Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Mail::IMAPTalk::MailCaUser3Contributed Perl DocumeMail::IMAPTalk::MailCache(3)

NAME
       Mail::IMAPTalk::MailCache - Handles building a Mail::Cache cache	for
       Mail::IMAPTalk

VERSION
       Version 0.0.1

SYNOPSIS
	   use Mail::IMAPTalk::MailCache;

	   my $mc=Mail::Cache->new();
	   $mc->init('My::Module', 'imap', 'someAccount', 'INBOX');
	   if(!$mc->{error}){
	       my %returned=Mail::IMAPTalk::MailCache->cache($imap, $mc);
	       if(!$returned{error}){
		   print "Error	caching	it.\n";
	       }
	   }

	   my $foo = Mail::IMAPTalk::MailCache->new();
	   ...

FUNCTIONS
   cache
       This caches the currently selected IMAP folder into a specified
       Mail::Cache.

       Three arguements	are taken. The first that is taken is Mail::IMAPTalk
       object.	The second is the Mail::Cache object. The third	is if it
       should forcefully regenerate the	the entire cache instead of just the
       new stuff.

	   my $mc=Mail::Cache->new();
	   $mc->init('My::Module', 'imap', 'someAccount', 'INBOX');
	   if(!$mc->{error}){
	       my %returned=Mail::IMAPTalk::MailCache->cache($imap, $mc, 0);
	       if(!$returned{error}){
		   print "Error: ".$returned{error}."\n";
	       }
	   }else{
	       print "Failed to	init the mail cache.\n";
	   }

ERRORS
   1
       Failed to get a list of UIDs for	the

AUTHOR
       Zane C. Bowers, "<vvelox	at vvelox.net>"

BUGS
       Please report any bugs or feature requests to
       "bug-mail-imaptalk-mailcache at rt.cpan.org", or	through	the web
       interface at
       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Mail-IMAPTalk-MailCache>.
       I will be notified, and then you'll automatically be notified of
       progress	on your	bug as I make changes.

SUPPORT
       You can find documentation for this module with the perldoc command.

	   perldoc Mail::IMAPTalk::MailCache

       You can also look for information at:

       o   RT: CPAN's request tracker

	   <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Mail-IMAPTalk-MailCache>

       o   AnnoCPAN: Annotated CPAN documentation

	   <http://annocpan.org/dist/Mail-IMAPTalk-MailCache>

       o   CPAN	Ratings

	   <http://cpanratings.perl.org/d/Mail-IMAPTalk-MailCache>

       o   Search CPAN

	   <http://search.cpan.org/dist/Mail-IMAPTalk-MailCache/>

ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
       Copyright 2009 Zane C. Bowers, all rights reserved.

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.24.1			  2010-02-20	  Mail::IMAPTalk::MailCache(3)

NAME | VERSION | SYNOPSIS | FUNCTIONS | ERRORS | AUTHOR | BUGS | SUPPORT | ACKNOWLEDGEMENTS | COPYRIGHT & LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Mail::IMAPTalk::MailCache&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help