View | Details | Raw Unified | Return to bug 9033
Collapse All | Expand All

(-)a/misc/cronjobs/runreport.pl (-3 / +3 lines)
Lines 29-34 use Mail::Sendmail; Link Here
29
use Text::CSV_XS;
29
use Text::CSV_XS;
30
use CGI;
30
use CGI;
31
use Carp;
31
use Carp;
32
use Encode;
32
33
33
use vars qw($VERSION);
34
use vars qw($VERSION);
34
35
Lines 245-252 foreach my $report_id (@ARGV) { Link Here
245
        my %mail = (
246
        my %mail = (
246
            To      => $to,
247
            To      => $to,
247
            From    => $from,
248
            From    => $from,
248
            Subject => $subject,
249
            Subject => encode('utf8', $subject ),
249
            Message => $message 
250
            Message => encode('utf8', $message )
250
        );
251
        );
251
        sendmail(%mail) or carp 'mail not sent:' . $Mail::Sendmail::error;
252
        sendmail(%mail) or carp 'mail not sent:' . $Mail::Sendmail::error;
252
    } else {
253
    } else {
253
- 

Return to bug 9033