View | Details | Raw Unified | Return to bug 28803
Collapse All | Expand All

(-)a/C4/Letters.pm (-1 / +1 lines)
Lines 1410-1416 sub _send_message_by_email { Link Here
1410
            {
1410
            {
1411
                message_id   => $message->{'message_id'},
1411
                message_id   => $message->{'message_id'},
1412
                status       => 'failed',
1412
                status       => 'failed',
1413
                failure_code => 'INVALID_EMAIL'
1413
                failure_code => 'UNKNOWN_ERROR'
1414
            }
1414
            }
1415
        );
1415
        );
1416
        return 0;
1416
        return 0;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-2 / +1 lines)
Lines 95-101 Link Here
95
        [% IF ( QUEUED_MESSAGE.failure_code ) %]
95
        [% IF ( QUEUED_MESSAGE.failure_code ) %]
96
            [% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]Invalid borrowernumber [% borrowernumber | html %]
96
            [% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]Invalid borrowernumber [% borrowernumber | html %]
97
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]Unable to find an email address for this borrower
97
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]Unable to find an email address for this borrower
98
            [% ELSIF ( QUEUED_MESSAGE.failure_code == "INVALID_EMAIL" ) %]Invalid email address found [% borrowernumber | html %]
98
            [% ELSIF ( QUEUED_MESSAGE.failure_code == "UNKNOWN_ERROR" ) %]Unknown error (could be that an invalid email address was found [% borrowernumber | html %])
99
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]Missing from email address
99
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]Missing from email address
100
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]Missing SMS number
100
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]Missing SMS number
101
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'DUPLICATE_MESSAGE' ) %]Message is duplicate
101
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'DUPLICATE_MESSAGE' ) %]Message is duplicate
102
- 

Return to bug 28803