Lines 458-464
sub SendAlerts {
Link Here
|
458 |
: 'text/plain; charset="utf-8"', |
458 |
: 'text/plain; charset="utf-8"', |
459 |
} |
459 |
} |
460 |
); |
460 |
); |
461 |
unless( sendmail(%mail) ) { |
461 |
unless( Mail::Sendmail::sendmail(%mail) ) { |
462 |
carp $Mail::Sendmail::error; |
462 |
carp $Mail::Sendmail::error; |
463 |
return { error => $Mail::Sendmail::error }; |
463 |
return { error => $Mail::Sendmail::error }; |
464 |
} |
464 |
} |
Lines 603-609
sub SendAlerts {
Link Here
|
603 |
if C4::Context->preference("ClaimsBccCopy"); |
603 |
if C4::Context->preference("ClaimsBccCopy"); |
604 |
} |
604 |
} |
605 |
|
605 |
|
606 |
unless ( sendmail(%mail) ) { |
606 |
unless ( Mail::Sendmail::sendmail(%mail) ) { |
607 |
carp $Mail::Sendmail::error; |
607 |
carp $Mail::Sendmail::error; |
608 |
return { error => $Mail::Sendmail::error }; |
608 |
return { error => $Mail::Sendmail::error }; |
609 |
} |
609 |
} |
Lines 652-658
sub SendAlerts {
Link Here
|
652 |
: 'text/plain; charset="utf-8"', |
652 |
: 'text/plain; charset="utf-8"', |
653 |
} |
653 |
} |
654 |
); |
654 |
); |
655 |
unless( sendmail(%mail) ) { |
655 |
unless( Mail::Sendmail::sendmail(%mail) ) { |
656 |
carp $Mail::Sendmail::error; |
656 |
carp $Mail::Sendmail::error; |
657 |
return { error => $Mail::Sendmail::error }; |
657 |
return { error => $Mail::Sendmail::error }; |
658 |
} |
658 |
} |
Lines 1401-1407
sub _send_message_by_email {
Link Here
|
1401 |
|
1401 |
|
1402 |
_update_message_to_address($message->{'message_id'},$to_address) unless $message->{to_address}; #if initial message address was empty, coming here means that a to address was found and queue should be updated |
1402 |
_update_message_to_address($message->{'message_id'},$to_address) unless $message->{to_address}; #if initial message address was empty, coming here means that a to address was found and queue should be updated |
1403 |
|
1403 |
|
1404 |
if ( sendmail( %sendmail_params ) ) { |
1404 |
if ( Mail::Sendmail::sendmail( %sendmail_params ) ) { |
1405 |
_set_message_status( { message_id => $message->{'message_id'}, |
1405 |
_set_message_status( { message_id => $message->{'message_id'}, |
1406 |
status => 'sent' } ); |
1406 |
status => 'sent' } ); |
1407 |
return 1; |
1407 |
return 1; |
1408 |
- |
|
|