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

(-)a/C4/Letters.pm (-9 / +7 lines)
Lines 286-299 sub SendAlerts { Link Here
286
            my $message = Koha::Email->new();
286
            my $message = Koha::Email->new();
287
            my %mail = $message->create_message_headers(
287
            my %mail = $message->create_message_headers(
288
                {
288
                {
289
                    to      => $email,
289
                    to          => $email,
290
                    from    => $branchdetails->{'branchemail'},
290
                    from        => $branchdetails->{'branchemail'},
291
                    replyto => $branchdetails->{'branchreplyto'},
291
                    replyto     => $branchdetails->{'branchreplyto'},
292
                    sender  => $branchdetails->{'branchreturnpath'},
292
                    sender      => $branchdetails->{'branchreturnpath'},
293
                    subject => Encode::encode( "utf8", "" . $letter->{title} ),
293
                    subject     => Encode::encode( "utf8", "" . $letter->{title} ),
294
                    message =>
294
                    message     => Encode::encode( "utf8", "" . $letter->{content} ),
295
                      Encode::encode( "utf8", "" . $letter->{content} ),
295
                    contenttype => $letter->{'content-type'} || 'text/plain; charset="utf8"',
296
                    contenttype => 'text/plain; charset="utf8"',
297
296
298
                }
297
                }
299
            );
298
            );
300
- 

Return to bug 13241