# Copyrights 1995-2008 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 1.04. use strict; package Mail::Mailer::qmail; use vars '$VERSION'; $VERSION = '2.03'; use base 'Mail::Mailer::rfc822'; sub exec($$$$) { my($self, $exe, $args, $to, $sender) = @_; my $address = defined $sender && $sender =~ m/\<(.*?)\>/ ? $1 : $sender; exec($exe, (defined $address ? "-f$address" : ())); die "ERROR: cannot run $exe: $!"; } 1;