https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28803 --- Comment #50 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Martin Renvoize from comment #49)
(In reply to Joonas Kylmälä from comment #44)
(In reply to Martin Renvoize from comment #41)
Created attachment 125115 [details] [review] [review] [review] Bug 28803: (QA follow-up) Reinstate UNKNOWN_ERROR in templates
I can't see how this will ever get thrown, but as it's there we should have the template handling included.
If the SMTP server is unavailable it at least comes.
Really? I didn't think that was the case when calling 'create'.. if it is the case I don't understand why, we don't do anything with the SMTP server until the call to send_or_die.
It doesn't cause any harm having this, but I still haven't been able to trigger it myself.
I confirm it's needed: https://snipboard.io/10dPzT.jpg kohadev-koha@kohadevbox:/kohadevbox/koha$ perl misc/cronjobs/process_message_queue.pl unable to establish SMTP connection to (localhost) port 25 Trace begun at /usr/share/perl5/Email/Sender/Transport/SMTP.pm line 224 Email::Sender::Transport::SMTP::_throw('Email::Sender::Transport::SMTP=HASH(0x55bd3b7b9bd0)', 'unable to establish SMTP connection to (localhost) port 25') called at /usr/share/perl5/Email/Sender/Transport/SMTP.pm line 174 -- You are receiving this mail because: You are watching all bug changes.