__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Copyrights 1995-2024 by [Mark Overmeer <[email protected]>]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.03. # This code is part of the bundle MailTools. Meta-POD processed with # OODoc into POD and HTML manual-pages. See README.md for Copyright. # Licensed under the same terms as Perl itself. package Mail::Filter;{ our $VERSION = '2.22'; } use strict; use Carp; sub new(@) { my $class = shift; bless { filters => [ @_ ] }, $class; } #------------ sub add(@) { my $self = shift; push @{$self->{filters}}, @_; } #------------ sub _filter($) { my ($self, $mail) = @_; foreach my $sub ( @{$self->{filters}} ) { my $mail = ref $sub eq 'CODE' ? $sub->($self,$mail) : !ref $sub ? $self->$sub($mail) : carp "Cannot call filter '$sub', ignored"; ref $mail or last; } $mail; } sub filter { my ($self, $obj) = @_; if($obj->isa('Mail::Folder')) { $self->{folder} = $obj; foreach my $m ($obj->message_list) { my $mail = $obj->get_message($m) or next; $self->{msgnum} = $m; $self->_filter($mail); } delete $self->{folder}; delete $self->{msgnum}; } elsif($obj->isa('Mail::Internet')) { return $self->filter($obj); } else { carp "Cannot process '$obj'"; return undef; } } sub folder() {shift->{folder}} sub msgnum() {shift->{msgnum}} 1;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Field | Folder | 0755 |
|
|
| Mailer | Folder | 0755 |
|
|
| Address.pm | File | 6.83 KB | 0644 |
|
| Address.pod | File | 4.07 KB | 0644 |
|
| Cap.pm | File | 6.41 KB | 0644 |
|
| Cap.pod | File | 3.78 KB | 0644 |
|
| Field.pm | File | 4.92 KB | 0644 |
|
| Field.pod | File | 4.91 KB | 0644 |
|
| Filter.pm | File | 1.43 KB | 0644 |
|
| Filter.pod | File | 2.82 KB | 0644 |
|
| Header.pm | File | 13.81 KB | 0644 |
|
| Header.pod | File | 7.76 KB | 0644 |
|
| Internet.pm | File | 12.25 KB | 0644 |
|
| Internet.pod | File | 10.24 KB | 0644 |
|
| Mailer.pm | File | 4.93 KB | 0644 |
|
| Mailer.pod | File | 4.08 KB | 0644 |
|
| Send.pm | File | 1.34 KB | 0644 |
|
| Send.pod | File | 3.17 KB | 0644 |
|
| Util.pm | File | 3.35 KB | 0644 |
|
| Util.pod | File | 3.09 KB | 0644 |
|