[ Avaa Bypassed ]




Upload:

Command:

www-data@3.21.104.216: ~ $
# Copyrights 1995-2019 by [Mark Overmeer <markov@cpan.org>].
#  For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 2.02.
# 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::Send;
use vars '$VERSION';
$VERSION = '2.21';


use strict;

use Mail::Mailer ();

sub Version { our $VERSION }

#------------------

sub new(@)
{   my ($class, %attr) = @_;
    my $self = bless {}, $class;

    while(my($key, $value) = each %attr)
    {	$key = lc $key;
        $self->$key($value);
    }

    $self;
}

#---------------

sub set($@)
{   my ($self, $hdr, @values) = @_;
    $self->{$hdr} = [ @values ] if @values;
    @{$self->{$hdr} || []};	# return new (or original) values
}


sub add($@)
{   my ($self, $hdr, @values) = @_;
    push @{$self->{$hdr}}, @values;
}


sub delete($)
{   my($self, $hdr) = @_;
    delete $self->{$hdr};
}


sub to		{ my $self=shift; $self->set('To', @_); }
sub cc		{ my $self=shift; $self->set('Cc', @_); }
sub bcc		{ my $self=shift; $self->set('Bcc', @_); }
sub subject	{ my $self=shift; $self->set('Subject', join (' ', @_)); }

#---------------

sub open(@)
{   my $self = shift;
    Mail::Mailer->new(@_)->open($self);
}

1;

Filemanager

Name Type Size Permission Actions
Field Folder 0755
Mailer Folder 0755
Address.pm File 6.84 KB 0644
Address.pod File 4.07 KB 0644
Cap.pm File 6.42 KB 0644
Cap.pod File 3.78 KB 0644
Field.pm File 4.94 KB 0644
Field.pod File 4.91 KB 0644
Filter.pm File 1.44 KB 0644
Filter.pod File 2.82 KB 0644
Header.pm File 13.82 KB 0644
Header.pod File 7.76 KB 0644
Internet.pm File 12.26 KB 0644
Internet.pod File 10.24 KB 0644
Mailer.pm File 4.94 KB 0644
Mailer.pod File 4.1 KB 0644
Send.pm File 1.35 KB 0644
Send.pod File 3.17 KB 0644
Util.pm File 3.36 KB 0644
Util.pod File 3.09 KB 0644