Perl Mail::Sendmail Package

preparing it for openSUSE

This package is required by a2e-Perl

Table of Contents

1 Situation

  • We have packaged the Email::Send module as compressed tar, source rpm and object rpm package, based on perl-Email-Send.spec, for the a2e opensuse public repository.
  • Some practical information seems to be missing in the docs:
    • The normal mailer to use is Sendmail rather than SMTP. Sendmail must be in the path of a normal user. However, often it is in /usr/sbin which is not in the PATH. To be sure, say
       $ENV{PATH} = join ':', '/usr/sbin', $ENV{PATH} 
       unless $ENV{PATH} =~ m(\/usr\/sbin\b)
      _EOT_ 
         - The return value of {code:send} is a 
         Return::Value object.  To test it for success, 
         use its {code:bool} method:
      #Verbatim wrap=50 << _EOT_
       my $ok = $sender->send($message)
       die 'failed to send: %s', $ok->{string} unless 
       $ok->bool
      _EOT_    
      
      * Tasks
      #ag
      
      * Timeline
      #ont
      
      * Resources
      #ah
      
      %  - {ah url=@nav_perl_email_send_pub.txt: Source 
      text of Left Menu}
      
      * Chronology
      #int
      
       - {ev id=perl_email_send_pubd20080419 
       dat=2008-04-19 typ=d prs=phm: apache created this 
       directory}
      
deplate
http://a2e.de/adv/pak/perl-Email-Send
© 2008-04-19 Hartmut PILCH