|
Lines 432-438
sub SendAlerts {
Link Here
|
| 432 |
subject => Encode::encode( "utf8", "" . $letter->{title} ), |
432 |
subject => Encode::encode( "utf8", "" . $letter->{title} ), |
| 433 |
message => |
433 |
message => |
| 434 |
Encode::encode( "utf8", "" . $letter->{content} ), |
434 |
Encode::encode( "utf8", "" . $letter->{content} ), |
| 435 |
contenttype => 'text/plain; charset="utf8"', |
435 |
contenttype => 'text/plain; charset="utf-8"', |
| 436 |
|
436 |
|
| 437 |
} |
437 |
} |
| 438 |
); |
438 |
); |
|
Lines 519-525
sub SendAlerts {
Link Here
|
| 519 |
From => $userenv->{emailaddress}, |
519 |
From => $userenv->{emailaddress}, |
| 520 |
Subject => Encode::encode( "utf8", "" . $letter->{title} ), |
520 |
Subject => Encode::encode( "utf8", "" . $letter->{title} ), |
| 521 |
Message => Encode::encode( "utf8", "" . $letter->{content} ), |
521 |
Message => Encode::encode( "utf8", "" . $letter->{content} ), |
| 522 |
'Content-Type' => 'text/plain; charset="utf8"', |
522 |
'Content-Type' => 'text/plain; charset="utf-8"', |
| 523 |
); |
523 |
); |
| 524 |
|
524 |
|
| 525 |
$mail{'Reply-to'} = C4::Context->preference('ReplytoDefault') |
525 |
$mail{'Reply-to'} = C4::Context->preference('ReplytoDefault') |
|
Lines 568-574
sub SendAlerts {
Link Here
|
| 568 |
sender => $branchdetails->{'branchreturnpath'}, |
568 |
sender => $branchdetails->{'branchreturnpath'}, |
| 569 |
subject => Encode::encode( "utf8", "" . $letter->{'title'} ), |
569 |
subject => Encode::encode( "utf8", "" . $letter->{'title'} ), |
| 570 |
message => Encode::encode( "utf8", "" . $letter->{'content'} ), |
570 |
message => Encode::encode( "utf8", "" . $letter->{'content'} ), |
| 571 |
contenttype => 'text/plain; charset="utf8"' |
571 |
contenttype => 'text/plain; charset="utf-8"' |
| 572 |
} |
572 |
} |
| 573 |
); |
573 |
); |
| 574 |
sendmail(%mail) or carp $Mail::Sendmail::error; |
574 |
sendmail(%mail) or carp $Mail::Sendmail::error; |
| 575 |
- |
|
|