Revision 2b4a39fa
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Mailer.pm | ||
---|---|---|
270 | 270 |
$self->{driver} = eval { $self->_create_driver }; |
271 | 271 |
if (!$self->{driver}) { |
272 | 272 |
my $error = $@; |
273 |
$self->_store_in_journal('failed', 'driver could not be created; check your configuration & log files'); |
|
273 |
$self->_store_in_journal('send_failed', 'driver could not be created; check your configuration & log files');
|
|
274 | 274 |
$::lxdebug->message(LXDebug::WARN(), "Mailer error during 'send': $error"); |
275 | 275 |
|
276 | 276 |
return $error; |
... | ... | |
395 | 395 |
return if $journal_enable == 0; |
396 | 396 |
|
397 | 397 |
$status //= $self->{driver}->status if $self->{driver}; |
398 |
$status //= 'failed'; |
|
398 |
$status //= 'send_failed';
|
|
399 | 399 |
$extended_status //= $self->{driver}->extended_status if $self->{driver}; |
400 | 400 |
$extended_status //= 'unknown error'; |
401 | 401 |
|
Auch abrufbar als: Unified diff
Anpassung für geänderten EmailJournal-Status