[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Fix queuing emails for SMTP when email queue is not set.

"SoftStart Code \(@softstartcode\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68ed7e24417c2_2ce0ce090781@gitlab-sidekiq-low-urgency-cpu-bound-v2-6469d5b86d-tjzfm.mail>

SoftStart Code pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
b2676da1 by SoftStart Code at 2025-10-13T22:24:48+00:00
[FIX] Fix queuing emails for SMTP when email queue is not set.
---
* [FIX] Fix queuing emails for SMTP when email queue is not set.

Issue introduced in https://gitlab.com/tikiwiki/tiki/-/merge_requests/8549

See merge request tikiwiki/tiki!8775

- - - - -


1 changed file:

- lib/webmail/tikimaillib.php


Changes:

=====================================
lib/webmail/tikimaillib.php
=====================================
@@ -247,7 +247,7 @@ class TikiMail
             }
         }
 
-        if ($prefs['mailer_queue'] == 'y' || $prefs['mailer_handler'] === 'smtp') {
+        if ($prefs['mailer_queue'] == 'y') {
             $query = "INSERT INTO `tiki_mail_queue` (message) VALUES (?)";
             $bindvars = [serialize($this->mail)];
             $tikilib->query($query, $bindvars, -1, 0);



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b2676da14002f52a91d8c70cdcbf8eddd4533506

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b2676da14002f52a91d8c70cdcbf8eddd4533506
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.