summaryrefslogtreecommitdiff
path: root/cpan/lib/Mail/Mailer/sendmail.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2018-01-01 03:52:14 +0000
committerfukachan <fukachan>2018-01-01 03:52:14 +0000
commitecc21ac78150d32a0125703ca03b085c9805c7c6 (patch)
tree079acf91ecaaf4ab2f84846f210bb33b9b31f36c /cpan/lib/Mail/Mailer/sendmail.pm
parent7bc5f8929e4ebb0cc24bf9a4ae7a67228aa70152 (diff)
downloadfml8-MailTools-2-19.tar.gz
fml8-MailTools-2-19.tar.bz2
fml8-MailTools-2-19.zip
import MailTools-2.19MailTools-2-19
Diffstat (limited to 'cpan/lib/Mail/Mailer/sendmail.pm')
-rw-r--r--cpan/lib/Mail/Mailer/sendmail.pm21
1 files changed, 15 insertions, 6 deletions
diff --git a/cpan/lib/Mail/Mailer/sendmail.pm b/cpan/lib/Mail/Mailer/sendmail.pm
index ea67d7e0..343b6cc1 100644
--- a/cpan/lib/Mail/Mailer/sendmail.pm
+++ b/cpan/lib/Mail/Mailer/sendmail.pm
@@ -1,17 +1,26 @@
+# Copyrights 1995-2017 by [Mark Overmeer <perl@overmeer.net>].
+# For other contributors see ChangeLog.
+# See the manual pages for details on the licensing terms.
+# Pod stripped from pm file by OODoc 2.02.
+use strict;
+
package Mail::Mailer::sendmail;
-use vars qw(@ISA);
-require Mail::Mailer::rfc822;
-@ISA = qw(Mail::Mailer::rfc822);
+use vars '$VERSION';
+$VERSION = '2.19';
+use base 'Mail::Mailer::rfc822';
-sub exec {
- my($self, $exe, $args, $to) = @_;
+sub exec($$$$)
+{ my($self, $exe, $args, $to, $sender) = @_;
# Fork and exec the mailer (no shell involved to avoid risks)
# We should always use a -t on sendmail so that Cc: and Bcc: work
# Rumor: some sendmails may ignore or break with -t (AIX?)
# Chopped out the @$to arguments, because -t means
# they are sent in the body, and postfix complains if they
- # are also given on comand line.
+ # are also given on command line.
+
exec( $exe, '-t', @$args );
}
+
+1;