diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Mail/Transport.pm | 4 | ||||
-rw-r--r-- | lib/Mail/Transport.pod | 6 | ||||
-rw-r--r-- | lib/Mail/Transport/Exim.pm | 4 | ||||
-rw-r--r-- | lib/Mail/Transport/Exim.pod | 6 | ||||
-rw-r--r-- | lib/Mail/Transport/Mailx.pm | 4 | ||||
-rw-r--r-- | lib/Mail/Transport/Mailx.pod | 6 | ||||
-rw-r--r-- | lib/Mail/Transport/Qmail.pm | 4 | ||||
-rw-r--r-- | lib/Mail/Transport/Qmail.pod | 6 | ||||
-rw-r--r-- | lib/Mail/Transport/Receive.pm | 4 | ||||
-rw-r--r-- | lib/Mail/Transport/Receive.pod | 6 | ||||
-rw-r--r-- | lib/Mail/Transport/SMTP.pm | 23 | ||||
-rw-r--r-- | lib/Mail/Transport/SMTP.pod | 6 | ||||
-rw-r--r-- | lib/Mail/Transport/Send.pm | 4 | ||||
-rw-r--r-- | lib/Mail/Transport/Send.pod | 6 | ||||
-rw-r--r-- | lib/Mail/Transport/Sendmail.pm | 4 | ||||
-rw-r--r-- | lib/Mail/Transport/Sendmail.pod | 13 |
16 files changed, 53 insertions, 53 deletions
diff --git a/lib/Mail/Transport.pm b/lib/Mail/Transport.pm index 3aca557..d01594e 100644 --- a/lib/Mail/Transport.pm +++ b/lib/Mail/Transport.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Reporter'; diff --git a/lib/Mail/Transport.pod b/lib/Mail/Transport.pod index f8a0386..5facca6 100644 --- a/lib/Mail/Transport.pod +++ b/lib/Mail/Transport.pod @@ -259,12 +259,12 @@ of the package. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Mail/Transport/Exim.pm b/lib/Mail/Transport/Exim.pm index 5930c26..97cc058 100644 --- a/lib/Mail/Transport/Exim.pm +++ b/lib/Mail/Transport/Exim.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport::Exim; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Transport::Send'; diff --git a/lib/Mail/Transport/Exim.pod b/lib/Mail/Transport/Exim.pod index e6af4ba..c2e3097 100644 --- a/lib/Mail/Transport/Exim.pod +++ b/lib/Mail/Transport/Exim.pod @@ -240,12 +240,12 @@ found in the message itself about the destination. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Mail/Transport/Mailx.pm b/lib/Mail/Transport/Mailx.pm index 3055b66..aeed051 100644 --- a/lib/Mail/Transport/Mailx.pm +++ b/lib/Mail/Transport/Mailx.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport::Mailx; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Transport::Send'; diff --git a/lib/Mail/Transport/Mailx.pod b/lib/Mail/Transport/Mailx.pod index dda2b01..8670794 100644 --- a/lib/Mail/Transport/Mailx.pod +++ b/lib/Mail/Transport/Mailx.pod @@ -259,12 +259,12 @@ accepting messages, but did not succeed sending it. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Mail/Transport/Qmail.pm b/lib/Mail/Transport/Qmail.pm index 44ac710..25c7c4a 100644 --- a/lib/Mail/Transport/Qmail.pm +++ b/lib/Mail/Transport/Qmail.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport::Qmail; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Transport::Send'; diff --git a/lib/Mail/Transport/Qmail.pod b/lib/Mail/Transport/Qmail.pod index caf44a0..06dc891 100644 --- a/lib/Mail/Transport/Qmail.pod +++ b/lib/Mail/Transport/Qmail.pod @@ -236,12 +236,12 @@ found in the message itself about the destination. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Mail/Transport/Receive.pm b/lib/Mail/Transport/Receive.pm index cfa8410..c1422f6 100644 --- a/lib/Mail/Transport/Receive.pm +++ b/lib/Mail/Transport/Receive.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport::Receive; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Transport'; diff --git a/lib/Mail/Transport/Receive.pod b/lib/Mail/Transport/Receive.pod index 05e8685..350c7b3 100644 --- a/lib/Mail/Transport/Receive.pod +++ b/lib/Mail/Transport/Receive.pod @@ -187,12 +187,12 @@ of the package. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Mail/Transport/SMTP.pm b/lib/Mail/Transport/SMTP.pm index 46ffe26..aa53667 100644 --- a/lib/Mail/Transport/SMTP.pm +++ b/lib/Mail/Transport/SMTP.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport::SMTP; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Transport::Send'; @@ -99,17 +99,11 @@ sub trySend($@) return (0, $server->code, $server->message,"To $_",$server->quit); } - $server->data; - $server->datasend($_) for @headers; my $bodydata = $message->body->file; - if(ref $bodydata eq 'GLOB') { - $server->datasend($_) while <$bodydata>; - } - else { - while(my $l = $bodydata->getline) { $server->datasend($l) } - } - + $server->data; + $server->datasend(\@headers); + $server->datasend( [ ref $bodydata eq 'GLOB' ? <$bodydata> : $bodydata->getlines ] ); $server->dataend or return (0, $server->code, $server->message,'DATA',$server->quit); @@ -136,12 +130,11 @@ sub trySend($@) return 0; } - $server->data; - $server->datasend($_) for @headers; my $bodydata = $message->body->file; - if(ref $bodydata eq 'GLOB') { $server->datasend($_) while <$bodydata> } - else { while(my $l = $bodydata->getline) { $server->datasend($l) } } + $server->data; + $server->datasend(\@headers); + $server->datasend( [ ref $bodydata eq 'GLOB' ? <$bodydata> : $bodydata->getlines ] ); $server->quit, return 0 unless $server->dataend; diff --git a/lib/Mail/Transport/SMTP.pod b/lib/Mail/Transport/SMTP.pod index 662fbeb..573e2d0 100644 --- a/lib/Mail/Transport/SMTP.pod +++ b/lib/Mail/Transport/SMTP.pod @@ -332,12 +332,12 @@ found in the message itself about the destination. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Mail/Transport/Send.pm b/lib/Mail/Transport/Send.pm index 2464dc3..a1b3148 100644 --- a/lib/Mail/Transport/Send.pm +++ b/lib/Mail/Transport/Send.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport::Send; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Transport'; diff --git a/lib/Mail/Transport/Send.pod b/lib/Mail/Transport/Send.pod index 764dd99..d6493ee 100644 --- a/lib/Mail/Transport/Send.pod +++ b/lib/Mail/Transport/Send.pod @@ -331,12 +331,12 @@ but only receive message. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Mail/Transport/Sendmail.pm b/lib/Mail/Transport/Sendmail.pm index 9e6f428..e6827bb 100644 --- a/lib/Mail/Transport/Sendmail.pm +++ b/lib/Mail/Transport/Sendmail.pm @@ -1,4 +1,4 @@ -# Copyrights 2001-2019 by [Mark Overmeer]. +# 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. @@ -8,7 +8,7 @@ package Mail::Transport::Sendmail; use vars '$VERSION'; -$VERSION = '3.004'; +$VERSION = '3.005'; use base 'Mail::Transport::Send'; diff --git a/lib/Mail/Transport/Sendmail.pod b/lib/Mail/Transport/Sendmail.pod index cc9611c..33ff44f 100644 --- a/lib/Mail/Transport/Sendmail.pod +++ b/lib/Mail/Transport/Sendmail.pod @@ -26,6 +26,13 @@ Some people use Postfix as MTA. Postfix can be installed as replacement for Sendmail: is provides a program with the same name and options. So, this module supports postfix as well. +B<WARNING:> When you do bulk email sending with local delivery via +Postfix, you can probably better use the SMTP backend to connect +to postfix. The C<sendmail> command delivers to C<maildrop>. From +C<maildrop>, the C<pickupd> will only sequentially insert messages +into C<cleanup>. That process can take considerable elapse time. +Directly inserting via C<smtpd> will parallellize the cleanup process. + Extends L<"DESCRIPTION" in Mail::Transport::Send|Mail::Transport::Send/"DESCRIPTION">. =head1 METHODS @@ -257,12 +264,12 @@ found in the message itself about the destination. =head1 SEE ALSO -This module is part of Mail-Transport distribution version 3.004, -built on May 03, 2019. Website: F<http://perl.overmeer.net/CPAN/> +This module is part of Mail-Transport distribution version 3.005, +built on July 22, 2020. Website: F<http://perl.overmeer.net/CPAN/> =head1 LICENSE -Copyrights 2001-2019 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |