Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Send email without using SMTP server

by madtoperl (Hermit)
on Nov 13, 2008 at 10:46 UTC ( [id://723407] : perlquestion . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Connection error from localhost on port 25 ()
    
  2. or download this
    use Mail::Sendmail;
    
    ...
      sendmail(%mail) or die $Mail::Sendmail::error;
    
      print "OK. Log says:\n", $Mail::Sendmail::log;