Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2b4a39fa

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID 2b4a39fa6eae9f49049bc9ff6d4928fca6b5fdec
  • Vorgänger 5499cd21
  • Nachfolger 74f92b62

Anpassung für geänderten EmailJournal-Status

Unterschiede anzeigen:

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