Resource icon

[bd] Mails 1.1.0

No permission to download
I tried to send an email using bd mail from my users from this add on by @AndyB and got this error and it didn't send anything out, any thoughts?

Code:
XenForo_Exception: [bd] Mails: Sending mail failed, log is available at /home/admin/public_html/community/internal_data/bdmails_1455272875_81e17a494047bec78f3547f485249555.log - library/bdMails/Transport/Abstract.php:47
Generated By: Unknown Account, Yesterday at 5:27 AM
Stack Trace
#0 /home/admin/public_html/community/library/bdMails/Transport/Abstract.php(35): bdMails_Transport_Abstract->_bdMails_log(Array, '[{"email":"dare...', false, Array)
#1 /home/admin/public_html/community/library/Zend/Mail/Transport/Abstract.php(348): bdMails_Transport_Abstract->_sendMail()
#2 /home/admin/public_html/community/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#3 /home/admin/public_html/community/library/XenForo/Model/MailQueue.php(79): Zend_Mail->send(Object(bdMails_Transport_Mandrill))
#4 /home/admin/public_html/community/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(7.9999961853027)
#5 /home/admin/public_html/community/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_MailQueue->execute(Array, Array, 7.9999961853027, '')
#6 /home/admin/public_html/community/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999961853027, '', false)
#7 /home/admin/public_html/community/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /home/admin/public_html/community/deferred.php(23): XenForo_Model_Deferred->run(false)
#9 {main}
Request State
array(3) {
  ["url"] => string(44) "http://sphy.com/community/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(25) "/community/account/alerts"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Still getting this error, seems to happen every time there is an automatic bounce.
Code:
Server Error Log
Error Info
ErrorException: Undefined index: diagnosticCode - library/bdMails/Transport/AmazonSes.php:137
Generated By: Unknown Account, 3 minutes ago
Stack Trace
#0 /home/marineaq/public_html/library/bdMails/Transport/AmazonSes.php(137): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/marineaq/...', 137, Array)
#1 /home/marineaq/public_html/bdmails/amazon.php(5): bdMails_Transport_AmazonSes::doSns()
#2 {main}
Request State
array(3) {
  ["url"] => string(50) "http://www.marineaquariumsa.com/bdmails/amazon.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Still getting this error, seems to happen every time there is an automatic bounce.
Code:
Server Error Log
Error Info
ErrorException: Undefined index: diagnosticCode - library/bdMails/Transport/AmazonSes.php:137
Generated By: Unknown Account, 3 minutes ago
Stack Trace
#0 /home/marineaq/public_html/library/bdMails/Transport/AmazonSes.php(137): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/marineaq/...', 137, Array)
#1 /home/marineaq/public_html/bdmails/amazon.php(5): bdMails_Transport_AmazonSes::doSns()
#2 {main}
Request State
array(3) {
  ["url"] => string(50) "http://www.marineaquariumsa.com/bdmails/amazon.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Do what I did, remove the add on. The support here on Xenforo for it is not well supported.
 
Sorry, I wouldn't know. I only used it due to limited email per hour with a shared host, I have since went to a VPS and have unlimited emails.
 
I switched from Mandrill to Mailgun, since Mandrill is making the forced move to MailChimp and taking a different route than the simple service we needed.

Was a smooth move and everything is up and running with Mailgun! :D
 
Mailgun has free 10k emails/month, I believe it won't hurt much to move from Mandrill to Mailgun. On a side note, I've been using Mailgun since the beginning, and I have to admit that they did the job perfectly all these months. Though I've disabled this add-on recently. I've setup postfix to use Mailgun as the SMTP relay of my whole server instead. I have yet to figure out how to setup automatic bounce handling with it, but I guess it'll do for now.
 
I use this addon. But what are the advantages to still use this addon? That you don't have to store blank and use SMTP method?
 
We've switched to Amazon SES too, but the same errors (i.e. Undefined index: diagnosticCode) as above. I hope this can be resolved - I'd happily pay for this addon.
 
Hey @xfrocks

been getting these errors for a long time now.. using Mandrill,
Code:
XenForo_Exception: [bd] Mails: Sending mail failed, log is available at /var/www/vhosts/wweforums.net/httpdocs/data/bdmails_1xxxxxxd5b9fccd02fe31b6aa1d65ce80.log - library/bdMails/Transport/Abstract.php:75
Generated By: Unknown Account, 8 minutes ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/bdMails/Transport/Abstract.php(61): bdMails_Transport_Abstract->_bdMails_log(Array, '[{"email":"skef...', false, Array)
#1 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Mail/Transport/Abstract.php(348): bdMails_Transport_Abstract->_sendMail()
#2 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#3 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/MailQueue.php(79): Zend_Mail->send(Object(bdMails_Transport_Mandrill))
#4 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(7.9856359958649)
#5 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_MailQueue->execute(Array, Array, 7.9856359958649, '')
#6 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9856359958649, '', false)
#7 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /var/www/vhosts/wweforums.net/httpdocs/deferred.php(23): XenForo_Model_Deferred->run(false)
#9 {main}

This particular error was supposed to be an email for a reply to watched thread. Most of them are.

Have you checked the log report in the specified path?

Those are simple "non-delivery" reports. They happen if Mandrill denies to send a message. Each time of it.
Hi! About these errors, I get lots of them everyday.
I noticed most are mails reporting: watched threads, PM and forum mails.
The error happen after a user clicked on the automatically created unsubscribe link from Mandrillapp.
From them on, every time Xenforo tries to send a mail to that user, Mandrill replies with an error saying they are not sending it.
At Mandrill we can export a list with all Rejected and Bonced mails.
Is it possible to, using this list, create a query to remove these users from getting more emails from xenforo? Remove them from getting mails from watched threads (news and old ones), PM and forum mails.

I tried manually, but it takes time and currently watched threads are not removed...
Any ideas on this?
Thanks!
 
@Rayman The most important feature would be the bounce handling. I doubt setting up Mailgun or the likes as your SMTP server will grant you handlers for bounced emails by default. But by installing this add-on, it'll create webhooks for certain mail service such as Mailgun to process bounced emails.

On a side note, I reinstalled this add-on for my board. It seems like there have been some hard bounces in my Mailgun logs, but XenForo kept sending message to them. The most likely cause would be because XenForo didn't know of the bounced mails.
 
Hi! About these errors, I get lots of them everyday.
I noticed most are mails reporting: watched threads, PM and forum mails.
The error happen after a user clicked on the automatically created unsubscribe link from Mandrillapp.
From them on, every time Xenforo tries to send a mail to that user, Mandrill replies with an error saying they are not sending it.
At Mandrill we can export a list with all Rejected and Bonced mails.
Is it possible to, using this list, create a query to remove these users from getting more emails from xenforo? Remove them from getting mails from watched threads (news and old ones), PM and forum mails.

I tried manually, but it takes time and currently watched threads are not removed...
Any ideas on this?
Thanks!
For those having errors with Mandrillapp I just tried this:
https://xenforo.com/community/threa...lacklist-unsubscribed-list-managmente.115159/

Manually add the email blacklist (bounced and rejected emails listed at Mandrill) into xenforo own database.
This way, xenforo will not try to send emails to this list again.
 
Top Bottom