Help for this page

Select Code to Download


  1. or download this
    use HTML::Entities;
    use strict;
    ...
    
    use Mail::Sendmail;
    Mail::Sendmail::sendmail(%mail) || print STDERR $Mail::Sendmail::error
    +;
    
  2. or download this
    # Sender setup 
    use Mail::Sender::Easy qw(email);
    ...
        charset => 'utf-8',
        _text => $input,
    }) || print STDERR "email() failed: $@";