[TH] Queue Email Users [Deleted]

Sadly no. This includes user registration (confirmation, rejection, acceptance emails), Contact Us, etc.

From the looks of it, the AdminCP email hasn't been updated when the front-end watching email & conversation notification emails was updated to use the email queue system.


Nope. They use XenForo_Mail::send() not XenForo_Mail:queue().

It is why I released Email Queuing Enhancements. It forces all email through the mail-queue system, and then straps basic retry logic to it. The idea is to make hand-off from XenForo to the end-mailing system reliable, and then its up to the mailing agent todo the fancy stuff.

ah, ok got it. And it supports [bd] mail's use of alternative transports? Thinking mandrill specifically....
 
Sadly no. This includes user registration (confirmation, rejection, acceptance emails), Contact Us, etc.

From the looks of it, the AdminCP email hasn't been updated when the front-end watching email & conversation notification emails was updated to use the email queue system.


Nope. They use XenForo_Mail::send() not XenForo_Mail:queue().

It is why I released Email Queuing Enhancements. It forces all email through the mail-queue system, and then straps basic retry logic to it. The idea is to make hand-off from XenForo to the end-mailing system reliable, and then its up to the mailing agent todo the fancy stuff.

Xon -- when you say ALL emails, do you mean even ones that add-ons might use?

I'm thinking specifically of this one that we use a lot:
https://xenforo.com/community/threads/inactive-members.69518

This thing can generate literally 3-4,000 emails in a batch, and I don't think mandrill appreciates it when we suddenly dump all of them in! @AndyB says in the description of the addon that 'sending too many e-mails can cause errors', so I assume he's not using the mail queue... I could be wrong.
 
Hi @Jon W ... I've got this in the error log.... bug?

Server Error Log said:
Error Info
ErrorException: Argument 1 passed to Waindigo_QueueEmailUsers_Deferred_MailQueue::_sendEmail() must be of the type array, boolean given, called in /var/www/vhosts/xxxxxx/httpdocs/library/Waindigo/QueueEmailUsers/Deferred/MailQueue.php on line 29 and defined - library/Waindigo/QueueEmailUsers/Deferred/MailQueue.php:46
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /var/www/vhosts/xxxxxx/httpdocs/library/Waindigo/QueueEmailUsers/Deferred/MailQueue.php(46): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/var/www/vhosts...', 46, Array)
#1 /var/www/vhosts/xxxxxx/httpdocs/library/Waindigo/QueueEmailUsers/Deferred/MailQueue.php(29): Waindigo_QueueEmailUsers_Deferred_MailQueue::_sendEmail(false, Array, Object(Zend_Mail_Transport_Sendmail))
#2 /var/www/vhosts/xxxxxx/httpdocs/library/XenForo/Model/Deferred.php(256): Waindigo_QueueEmailUsers_Deferred_MailQueue->execute(Array, Array, 7.9999918937683, '')
#3 /var/www/vhosts/xxxxxx/httpdocs/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999918937683, '', false)
#4 /var/www/vhosts/xxxxxx/httpdocs/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#5 /var/www/vhosts/xxxxxx/httpdocs/deferred.php(23): XenForo_Model_Deferred->run(false)
#6 {main}
Request State
array(3) {
["url"] => string(42) "http://www.xxxxxx/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(54) "/fob/some-thread-title.99488/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
Hi @Jon W I tried installing this with your install/upgrade mod and it failed, something to do with parameter 1 needing to be a resource (ftp)...

So, I then tried to install it in the regular way and I get this error:-
Callback Waindigo_QueueEmailUsers_Listener_FileHealthCheck::fileHealthCheck is invalid (Invalid Class).

Any ideas?

Thanks,

Rob
 
Top Bottom