Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Mail /
Transport /
[ HOME SHELL ]
Name
Size
Permission
Action
Exim.pm
1.61
KB
-rw-r--r--
Exim.pod
6.17
KB
-rw-r--r--
Mailx.pm
2.52
KB
-rw-r--r--
Mailx.pod
7.07
KB
-rw-r--r--
Qmail.pm
1.32
KB
-rw-r--r--
Qmail.pod
6
KB
-rw-r--r--
Receive.pm
615
B
-rw-r--r--
Receive.pod
4.61
KB
-rw-r--r--
SMTP.pm
4.79
KB
-rw-r--r--
SMTP.pod
9.39
KB
-rw-r--r--
Send.pm
2.73
KB
-rw-r--r--
Send.pod
8.88
KB
-rw-r--r--
Sendmail.pm
1.59
KB
-rw-r--r--
Sendmail.pod
7.14
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Send.pm
# Copyrights 2001-2020 by [Mark Overmeer]. # 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 distribution Mail-Transport. Meta-POD processed with # OODoc into POD and HTML manual-pages. See README.md # Copyright Mark Overmeer. Licensed under the same terms as Perl itself. package Mail::Transport::Send; use vars '$VERSION'; $VERSION = '3.005'; use base 'Mail::Transport'; use strict; use warnings; use Carp; use File::Spec; use Errno 'EAGAIN'; sub new(@) { my $class = shift; return $class->SUPER::new(@_) if $class ne __PACKAGE__; require Mail::Transport::Sendmail; Mail::Transport::Sendmail->new(@_); } #------------------------------------------ sub send($@) { my ($self, $message, %args) = @_; unless($message->isa('Mail::Message')) # avoid rebless. { $message = Mail::Message->coerce($message); confess "Unable to coerce object into Mail::Message." unless defined $message; } return 1 if $self->trySend($message, %args); return 0 unless $?==EAGAIN; my ($interval, $retry) = $self->retry; $interval = $args{interval} if exists $args{interval}; $retry = $args{retry} if exists $args{retry}; while($retry!=0) { sleep $interval; return 1 if $self->trySend($message, %args); return 0 unless $?==EAGAIN; $retry--; } 0; } #------------------------------------------ sub trySend($@) { my $self = shift; $self->log(ERROR => "Transporters of type ".ref($self). " cannot send."); } #------------------------------------------ sub putContent($$@) { my ($self, $message, $fh, %args) = @_; if($args{body_only}) { $message->body->print($fh) } elsif($args{undisclosed}) { $message->Mail::Message::print($fh) } else { $message->head->printUndisclosed($fh); $message->body->print($fh); } $self; } #------------------------------------------ sub destinations($;$) { my ($self, $message, $overrule) = @_; my @to; if(defined $overrule) # Destinations overruled by user. { my @addr = ref $overrule eq 'ARRAY' ? @$overrule : ($overrule); @to = map { ref $_ && $_->isa('Mail::Address') ? ($_) : Mail::Address->parse($_) } @addr; } elsif(my @rgs = $message->head->resentGroups) { @to = $rgs[0]->destinations; $self->log(WARNING => "Resent group does not specify a destination"), return () unless @to; } else { @to = $message->destinations; $self->log(WARNING => "Message has no destination"), return () unless @to; } @to; } #------------------------------------------ 1;
Close