Help for this page

Select Code to Download


  1. or download this
    use Mail::Sendmail;
    
    ...
       );
       sendmail(%mail) or die $Mail::Sendmail::error;
    }
    
  2. or download this
    use Mail::Sendmail;
    unshift @{$Mail::Sendmail::mailcfg{'smtp'}} ,'smtp.someserver.com';
    ...
             );
      sendmail(%mail) or die $Mail::Sendmail::error;
    }