Mail-Outlook
view release on metacpan or search on metacpan
lib/Mail/Outlook/Folder.pm view on Meta::CPAN
$self->{objfolder}->Delete();
$self = undef;
}
=item all_folders
List the names of all folders in this folder.
=cut
sub all_folders {
my $self = shift;
my $folders = $self->{objfolder}->Folders || [];
my @folder_names = ();
my $num_folders = $folders->{Count};
for( my $i=1; $i <= $num_folders; $i++ ) {
push( @folder_names, $folders->Item($i)->Name );
}
return @folder_names;
1;
}
=item count_items
Return the number of items in the folder.
=cut
sub count_items {
my $self = shift;
my $count = $self->{objfolder}->Items->Count;
}
1;
__END__
#----------------------------------------------------------------------------
=back
#=head1 FURTHER READING
#If you intend to supply a patch for a bug or new feature, please visit the
#following URL (and associated pages) to ensure you are using the correct
#objects and methods.
#http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/html/olobjApplication.asp
#This article contains some interesting background into creating mail
#messages via Outlook, although it is VB-centric.
#http://www.exchangeadmin.com/Articles/Index.cfm?ArticleID=4657
#=head1 FUTURE ENHANCEMENTS
#A couple of items that I'd like to get working.
#* X-Header support
#* Send without the popups (Outlook Redemption looks possible)
=head1 NOTES
This module is intended to be used on Win32 platforms only, with Microsoft (R)
Outlook (R) installed.
Microsoft and Outlook are registered trademarks and the copyright 1995-2003
of Microsoft Corporation.
=head1 SEE ALSO
Win32::OLE
Win32::OLE::Const
=head1 BUGS, PATCHES & FIXES
There are some minor items under "Issues" , but there are no known serious bugs
at the time of this release.
However, if you spot a
bug or are experiencing difficulties that are not explained within the POD
documentation, please submit a bug to the RT system (see link below). However,
it would help greatly if you are able to pinpoint problems or even supply a
patch.
Fixes are dependent upon their severity and my availability. Should a fix not
be forthcoming, please feel free to (politely) remind me by sending an email
to barbie@cpan.org .
RT: L<http://rt.cpan.org/Public/Dist/Display.html?Name=Mail-Outlook>
=head1 AUTHOR
Barbie, <barbie@cpan.org>
for Miss Barbell Productions, <http://www.missbarbell.co.uk>
=head1 COPYRIGHT AND LICENSE
Copyright E<copy> 2003-2013 Barbie for Miss Barbell Productions.
Copyright E<copy> 2014-2016 Duncan Garland.
This distribution is free software; you can redistribute it and/or
modify it under the Artistic License v2.
=cut
( run in 0.862 second using v1.01-cache-2.11-cpan-364913b4093 )