Resource icon

Email Queuing Enhancements 2.2.0

No permission to download

MattW

Well-known member
Have you updated your OS which might have applied apparmor or selinux profiles? It is likely blocking php/apache from making outbound network calls to email services.
No, nothing has been updated on the server.

EDIT: I've swapped the SMTP for SES to use port 587 and TLS rather than 465 and SSL, and seems to be working now.
 
Last edited:

MattW

Well-known member
1600845687113.png

Would the queue also keep the old email settings when attempting to re-try sending?

Email is configured to use TLS and port 587

1600845734596.png

but the errors are still reporting the old settings.
 

Xon

Well-known member
The failed queue handling picks up the existing configuration and doesn't store that stuff.

Do you have any email bounce handling or similar which is hitting the old port?
 

Joe Link

Well-known member
Do you have any email bounce handling or similar which is hitting the old port?
Would need @Joe Link to advise on that one.

I'm not sure what you're referring to @Xon, can you elaborate please?

When I woke up I noticed I haven't received a single email from the website since last night, so it appears no emails are going out at all now. Checked the xf_mail_queue and there are 30,320 rows (11,260 in xf_mail_queue_failed).
 

MattW

Well-known member
The default email works fine, as testing via the ACP results in an email being received through SES almost instantly:

1600970330134.png
 

Xon

Well-known member
This add-on shouldn't be making a difference to how email is being sent, it just adds a more permissive retry policy :(
 

Joe Link

Well-known member
Sorry @Xon, got it figured out.

@DragonByte Tech's DragonByte Mail has an email transport option for each Digest. The upgrade to 4.4.0 apparently deselected the encryption radio button, causing the email attempts to time out and jamming up the email queue.
 
  • Like
Reactions: Xon

MattW

Well-known member
Does this work with XF2.2?

On both my own site, and a customers site, having this enabled on 2.2 stops mails from being sent out for notifications.
 

Sperber

Well-known member
Xon,

is it possible that your addon is hypnoticing the AbstractAdapter even for testing outbound mails via the XF function? ;)

Code:
LogicException: Instances of XF\Db\AbstractAdapter cannot be serialized or unserialized in src/XF/Db/AbstractAdapter.php at line 680

    XF\Db\AbstractAdapter->__sleep()
    serialize() in src/XF/Mail/Queue.php at line 27
    XF\Mail\Queue->queue() in src/XF/Mail/Mailer.php at line 318
    XF\Mail\Mailer->queue() in src/XF/Mail/Mail.php at line 412
    XF\Mail\Mail->queue() in src/addons/SV/EmailQueue/XF/Mail/Mail.php at line 34
    SV\EmailQueue\XF\Mail\Mail->send() in src/XF/Admin/Controller/Tools.php at line 278
    XF\Admin\Controller\Tools->actionTestEmail() in src/XF/Mvc/Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2178
    XF\App->run() in src/XF.php at line 390
    XF::runApp() in admin.php at line 13
Sending mails works, only the test function seems to be affected.
 

Xon

Well-known member
Something else must be extending the mailing system. This add-on just calls queue rather than send and the XF mail object doesn't hold a database reference nor does this add-on add one.
 

Sperber

Well-known member
Something else must be extending the mailing system. This add-on just calls queue rather than send and the XF mail object doesn't hold a database reference nor does this add-on add one.
Guess I´ve found the source of this (DBMail)
 
Top