Revision 54de916a
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Mailer/SMTP.pm | ||
---|---|---|
20 | 20 |
|
21 | 21 |
Rose::Object::init( |
22 | 22 |
@_, |
23 |
status => 'failed', |
|
23 |
status => 'send_failed',
|
|
24 | 24 |
extended_status => 'no send attempt made', |
25 | 25 |
); |
26 | 26 |
|
... | ... | |
96 | 96 |
|
97 | 97 |
my $ok = $self->{smtp}->dataend; |
98 | 98 |
$self->extended_status($self->{smtp}->message); |
99 |
$self->status('ok') if $ok;
|
|
99 |
$self->status('sent') if $ok;
|
|
100 | 100 |
|
101 | 101 |
$self->{smtp}->quit; |
102 | 102 |
|
Auch abrufbar als: Unified diff
Anpassung für geänderten EmailJournal-Status