Resource icon

[bd] Mails 1.1.0

No permission to download
This is really strange, i sent myself a PC from a test member i created to test an email and another member got it to as did i? The add on is off by the way as of this morning but this same meber said the same thing yesterday with add on on. any thoughts? It was on Tapatalk if that would even matter.

Screen Shot 2013-10-07 at 5.57.32 AM.webp
 
This is really strange, i sent myself a PC from a test member i created to test an email and another member got it to as did i? The add on is off by the way as of this morning but this same meber said the same thing yesterday with add on on. any thoughts?
The receiver is an admin or something? There is an option to forward all mails to an address FYI.
 
This is really strange, i sent myself a PC from a test member i created to test an email and another member got it to as did i? The add on is off by the way as of this morning but this same meber said the same thing yesterday with add on on. any thoughts? It was on Tapatalk if that would even matter.

View attachment 58393
I have just read the part about Tapatalk, it's a push notification and not emails. You will need to ask that member about his/her Tapatalk app configuration and such.
 
After running my first newsletter - in the reports section of Mandrill it had about 10 emails listed for "reported as spam." Should I take any action on these emails? If so - what?
 
Having read back through the entire thread, it's confusing me on how to set this up (not that it takes much to confuse me!). Does anyone have a step by step procedure I can follow through to set this up through Mandrill?

I think I have it straight in my head what to do, just want some confirmation before changing the live forum settings.
 
Having read back through the entire thread, it's confusing me on how to set this up (not that it takes much to confuse me!). Does anyone have a step by step procedure I can follow through to set this up through Mandrill?

I think I have it straight in my head what to do, just want some confirmation before changing the live forum settings.
I did a bunch of tests runs - turned it on and off at will in the ACP. It reverts back to email going out from your host when turned off. Mandrill tracks outbounds which you can see it's performance.
 
OK, so ignore the previous post (but better documentation would be nice for others!). It seems to be going after a bit of messing around. Just bumped some old threads and things are flying out as expected.
 
After running my first newsletter - in the reports section of Mandrill it had about 10 emails listed for "reported as spam." Should I take any action on these emails? If so - what?
By default, Mandrill will put those into a blacklist and stop delivering email to those addresses for a while. If those emails end up in bounced list, they will be taken care by the add-on automatically.
 
Noticed 2 errors in my logs and as result the add-on made to logs.

The error...

Error Info
PHP:
XenForo_Exception: [bd] Mails: Sending mail failed, log is available at /home/www/public_html/forums/internal_data/bdmails_1381839439_d44c3ee3f4d14a125d3b318327c6e2d7.log - library/bdMails/Transport/Abstract.php:75
Generated By: Unknown Account, Today at 8:17 AM
Stack Trace
PHP:
#0 /home/www/public_html/forums/library/bdMails/Transport/Abstract.php(61): bdMails_Transport_Abstract->_bdMails_log(Array, '[{"email":"mart...', false, Array)
#1 /home/www/public_html/forums/library/Zend/Mail/Transport/Abstract.php(348): bdMails_Transport_Abstract->_sendMail()
#2 /home/www/public_html/forums/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#3 /home/www/public_html/forums/library/XenForo/Model/MailQueue.php(62): Zend_Mail->send(Object(bdMails_Transport_Mandrill))
#4 /home/www/public_html/forums/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(9.99999904633)
#5 /home/www/public_html/forums/library/XenForo/Model/Deferred.php(208): XenForo_Deferred_MailQueue->execute(Array, Array, 9.99999904633, '')
#6 /home/www/public_html/forums/library/XenForo/Model/Deferred.php(331): XenForo_Model_Deferred->runDeferred(Array, 9.99999904633, '', false)
#7 /home/www/public_html/forums/library/XenForo/Model/Deferred.php(284): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /home/www/public_html/forums/deferred.php(18): XenForo_Model_Deferred->run(false)
#9 {main}
Request State
PHP:
array(3) {
  ["url"] => string(52) "http://www.sociallyuncensored.eu/forums/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(52) "/forums/threads/word-association-game.11971/page-696"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Now the log of that

For member privacy I removed the email address from the log (as noted as, "REMOVED EMAIL")

PHP:
array (
  0 => 
  array (
    'to' => 
    array (
      0 => 
      array (
        'email' => 'REMOVED EMAIL',
      ),
    ),
    'headers' => 
    array (
    ),
    'from_email' => 'REMOVED EMAIL',
    'from_name' => 'Socially Uncensored',
    'subject' => 'Word Association Game - New reply to watched thread',
    'text' => 'Martin Gerrard,

Wanderer replied to a thread you are watching at Socially Uncensored.

	"Word Association Game"

----------------------------------------------------------------------

To view this thread, click here:
http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/page-696#post-236598

You will not receive any further emails about this thread until you have read the new messages.

----------------------------------------------------------------------

This message was sent to you because you opted to watch the thread "Word Association Game" at Socially Uncensored with email notification of new replies.

To disable emails from this thread:
http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&c=1a932323a198e6f3c3e24a9d84f4ae2f&a=no_email&t=thread&id=11971

To disable all emails:
http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&c=1a932323a198e6f3c3e24a9d84f4ae2f&a=no_email

http://www.sociallyuncensored.eu/forums/',
    'html' => '<html lang="en-US" dir="LTR">
<head>
	<meta charset="UTF-8" />
	<base href="http://www.sociallyuncensored.eu/forums/" />
	<title>Word Association Game - New reply to watched thread</title>
</head>
<body dir="LTR" text="#141414" bgcolor="#F0F0F0" link="#176093" alink="#176093" vlink="#176093" style="padding: 10px">

	<table cellpadding="0" cellspacing="0" border="0" style="
		background-color: #F0F7FC;
		border: 1px solid #A5CAE4;
		border-radius: 5px">
	<tr>
		<td style="
			background-color: #D7EDFC;
			padding: 5px 10px;
			border-bottom: 1px solid #A5CAE4;
			border-top-left-radius: 4px;
			border-top-right-radius: 4px;
			font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
			font-size: 11px;
			line-height: 1.231;">
			<a href="http://www.sociallyuncensored.eu/forums/" style="color: #176093; text-decoration:none">Socially Uncensored</a>
		</td>
	</tr>
	<tr>
		<td style="
			background-color: #FCFCFF;
			padding: 1em;
			color: #141414;
			font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
			font-size: 13px;
			line-height: 1.231;">
			<p style="margin-top: 0">Martin Gerrard, <a href="http://www.sociallyuncensored.eu/forums/members/wanderer.8949/" style="color: #176093; text-decoration: none">Wanderer</a> replied to a thread you are watching at <a href="http://www.sociallyuncensored.eu/forums/" style="color: #176093; text-decoration: none">Socially Uncensored</a>.</p>

<h2 style="font-size: 18pt; font-weight: normal; margin: 10px 0"><a href="http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/page-696#post-236598" style="color: #176093; text-decoration: none">Word Association Game</a></h2>

<table cellpadding="10" cellspacing="0" border="0" width="100%" style="margin: 20px 0; background-color: #f0f7fc; border-top: 1px solid #d7edfc">
<tr>
	<td>
		<a href="http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/unread" style="
			display: block;
			float: left;
			padding: 5px 10px;
			background-color: #65a5d1;
			border: none;
			border-radius: 3px;
			font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
			font-size: 11px;
			color: white;
			text-decoration: none">View this Thread</a>
	</td>
	<td align="right">
		<a href="http://www.sociallyuncensored.eu/forums/watched/threads" style="
			display: block;
			padding: 5px 0;
			font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
			font-size: 11px;
			color: #176093;
			text-decoration: none">Unread Watched Threads</a>
	</td>
</tr>
</table>

<p style="font-size: 11px; color: #969696">This message was sent to you because you opted to watch the thread <a href="http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/" style="color: #969696">Word Association Game</a> at <a href="http://www.sociallyuncensored.eu/forums/" style="color: #969696">Socially Uncensored</a> with email notification of new replies. You will not receive any further emails about this thread until you have read the new messages.</p>

<p style="font-size: 11px; color: #969696">If you no longer wish to receive these emails, you may <a href="http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&amp;c=1a932323a198e6f3c3e24a9d84f4ae2f&amp;a=no_email&amp;t=thread&amp;id=11971" style="color: #969696">disable emails from this thread</a> or  <a href="http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&amp;c=1a932323a198e6f3c3e24a9d84f4ae2f&amp;a=no_email" style="color: #969696">disable all emails</a>.</p>
		</td>
	</tr>
	<tr>
		<td style="
			background-color: #F0F7FC;
			padding: 5px 10px;
			border-top: 1px solid #D7EDFC;
			border-bottom-left-radius: 4px;
			border-bottom-right-radius: 4px;
			text-align: right;
			font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
			font-size: 11px;
			line-height: 1.231;">
			<a href="http://www.sociallyuncensored.eu/forums/" style="color: #176093; text-decoration: none">http://www.sociallyuncensored.eu/forums/</a>
		</td>
	</tr>
	</table>	

</body>
</html>',
  ),
  1 => '[{"email":"REMOVED EMAIL","status":"rejected","_id":"ed9c95ffe9184420a338be8fa69a1a49","reject_reason":"spam"}]',
  2 => false,
  3 => 
  array (
    'microtime' => 0.191445827484,
  ),
)
 
Noticed 2 errors in my logs and as result the add-on made to logs.

The error...

Error Info
PHP:
XenForo_Exception: [bd] Mails: Sending mail failed, log is available at /home/www/public_html/forums/internal_data/bdmails_1381839439_d44c3ee3f4d14a125d3b318327c6e2d7.log - library/bdMails/Transport/Abstract.php:75
Generated By: Unknown Account, Today at 8:17 AM
Stack Trace
PHP:
#0 /home/www/public_html/forums/library/bdMails/Transport/Abstract.php(61): bdMails_Transport_Abstract->_bdMails_log(Array, '[{"email":"mart...', false, Array)
#1 /home/www/public_html/forums/library/Zend/Mail/Transport/Abstract.php(348): bdMails_Transport_Abstract->_sendMail()
#2 /home/www/public_html/forums/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#3 /home/www/public_html/forums/library/XenForo/Model/MailQueue.php(62): Zend_Mail->send(Object(bdMails_Transport_Mandrill))
#4 /home/www/public_html/forums/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(9.99999904633)
#5 /home/www/public_html/forums/library/XenForo/Model/Deferred.php(208): XenForo_Deferred_MailQueue->execute(Array, Array, 9.99999904633, '')
#6 /home/www/public_html/forums/library/XenForo/Model/Deferred.php(331): XenForo_Model_Deferred->runDeferred(Array, 9.99999904633, '', false)
#7 /home/www/public_html/forums/library/XenForo/Model/Deferred.php(284): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /home/www/public_html/forums/deferred.php(18): XenForo_Model_Deferred->run(false)
#9 {main}
Request State
PHP:
array(3) {
  ["url"] => string(52) "http://www.sociallyuncensored.eu/forums/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(52) "/forums/threads/word-association-game.11971/page-696"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Now the log of that

For member privacy I removed the email address from the log (as noted as, "REMOVED EMAIL")

PHP:
array (
  0 =>
  array (
    'to' =>
    array (
      0 =>
      array (
        'email' => 'REMOVED EMAIL',
      ),
    ),
    'headers' =>
    array (
    ),
    'from_email' => 'REMOVED EMAIL',
    'from_name' => 'Socially Uncensored',
    'subject' => 'Word Association Game - New reply to watched thread',
    'text' => 'Martin Gerrard,

Wanderer replied to a thread you are watching at Socially Uncensored.

    "Word Association Game"

----------------------------------------------------------------------

To view this thread, click here:
http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/page-696#post-236598

You will not receive any further emails about this thread until you have read the new messages.

----------------------------------------------------------------------

This message was sent to you because you opted to watch the thread "Word Association Game" at Socially Uncensored with email notification of new replies.

To disable emails from this thread:
http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&c=1a932323a198e6f3c3e24a9d84f4ae2f&a=no_email&t=thread&id=11971

To disable all emails:
http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&c=1a932323a198e6f3c3e24a9d84f4ae2f&a=no_email

http://www.sociallyuncensored.eu/forums/',
    'html' => '<html lang="en-US" dir="LTR">
<head>
    <meta charset="UTF-8" />
    <base href="http://www.sociallyuncensored.eu/forums/" />
    <title>Word Association Game - New reply to watched thread</title>
</head>
<body dir="LTR" text="#141414" bgcolor="#F0F0F0" link="#176093" alink="#176093" vlink="#176093" style="padding: 10px">

    <table cellpadding="0" cellspacing="0" border="0" style="
        background-color: #F0F7FC;
        border: 1px solid #A5CAE4;
        border-radius: 5px">
    <tr>
        <td style="
            background-color: #D7EDFC;
            padding: 5px 10px;
            border-bottom: 1px solid #A5CAE4;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
            font-size: 11px;
            line-height: 1.231;">
            <a href="http://www.sociallyuncensored.eu/forums/" style="color: #176093; text-decoration:none">Socially Uncensored</a>
        </td>
    </tr>
    <tr>
        <td style="
            background-color: #FCFCFF;
            padding: 1em;
            color: #141414;
            font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
            font-size: 13px;
            line-height: 1.231;">
            <p style="margin-top: 0">Martin Gerrard, <a href="http://www.sociallyuncensored.eu/forums/members/wanderer.8949/" style="color: #176093; text-decoration: none">Wanderer</a> replied to a thread you are watching at <a href="http://www.sociallyuncensored.eu/forums/" style="color: #176093; text-decoration: none">Socially Uncensored</a>.</p>

<h2 style="font-size: 18pt; font-weight: normal; margin: 10px 0"><a href="http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/page-696#post-236598" style="color: #176093; text-decoration: none">Word Association Game</a></h2>

<table cellpadding="10" cellspacing="0" border="0" width="100%" style="margin: 20px 0; background-color: #f0f7fc; border-top: 1px solid #d7edfc">
<tr>
    <td>
        <a href="http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/unread" style="
            display: block;
            float: left;
            padding: 5px 10px;
            background-color: #65a5d1;
            border: none;
            border-radius: 3px;
            font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
            font-size: 11px;
            color: white;
            text-decoration: none">View this Thread</a>
    </td>
    <td align="right">
        <a href="http://www.sociallyuncensored.eu/forums/watched/threads" style="
            display: block;
            padding: 5px 0;
            font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
            font-size: 11px;
            color: #176093;
            text-decoration: none">Unread Watched Threads</a>
    </td>
</tr>
</table>

<p style="font-size: 11px; color: #969696">This message was sent to you because you opted to watch the thread <a href="http://www.sociallyuncensored.eu/forums/threads/word-association-game.11971/" style="color: #969696">Word Association Game</a> at <a href="http://www.sociallyuncensored.eu/forums/" style="color: #969696">Socially Uncensored</a> with email notification of new replies. You will not receive any further emails about this thread until you have read the new messages.</p>

<p style="font-size: 11px; color: #969696">If you no longer wish to receive these emails, you may <a href="http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&amp;c=1a932323a198e6f3c3e24a9d84f4ae2f&amp;a=no_email&amp;t=thread&amp;id=11971" style="color: #969696">disable emails from this thread</a> or  <a href="http://www.sociallyuncensored.eu/forums/watched/via-email?u=9651&amp;c=1a932323a198e6f3c3e24a9d84f4ae2f&amp;a=no_email" style="color: #969696">disable all emails</a>.</p>
        </td>
    </tr>
    <tr>
        <td style="
            background-color: #F0F7FC;
            padding: 5px 10px;
            border-top: 1px solid #D7EDFC;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            text-align: right;
            font-family: \'Trebuchet MS\', Helvetica, Arial, sans-serif;
            font-size: 11px;
            line-height: 1.231;">
            <a href="http://www.sociallyuncensored.eu/forums/" style="color: #176093; text-decoration: none">http://www.sociallyuncensored.eu/forums/</a>
        </td>
    </tr>
    </table>   

</body>
</html>',
  ),
  1 => '[{"email":"REMOVED EMAIL","status":"rejected","_id":"ed9c95ffe9184420a338be8fa69a1a49","reject_reason":"spam"}]',
  2 => false,
  3 =>
  array (
    'microtime' => 0.191445827484,
  ),
)
That's just how the add on logs failed messages. If you look at the bottom, the response from the receiving server marked the message as spam.
 
That's just how the add on logs failed messages. If you look at the bottom, the response from the receiving server marked the message as spam.
I've had 2 people in the past mark things as spam and never did I get an error on it.

Further, this person doesn't seem to have been moved into "waiting verification"
 
I've had 2 people in the past mark things as spam and never did I get an error on it.

Further, this person doesn't seem to have been moved into "waiting verification"
It's up to the email provider to reject mail to a certain address, there is a lot of heuristic processing here so I can only guess here. Further more, spam rejection has a timeout of itself (and will be permanent after a few attempts). About moving to awaiting verification, that only happens to bounced email address. The email provider may or may not move the rejected addresses to the bounced list (they have 2 lists with a bit of overlap: bounced list and rejected list).
 
Getting some error's quite frequently in my server logs:

Server Error Log
Error Info
Zend_Http_Client_Adapter_Exception: Unable to Connect to ssl://mandrillapp.com:443. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known -library/Zend/Http/Client/Adapter/Socket.php:235
Generated By: Unknown Account, Today at 1:17 PM
Stack Trace
#0 /home/control/public_html/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('mandrillapp.com', 443, true)
#1 /home/control/public_html/library/bdMails/Transport/Mandrill.php(177): Zend_Http_Client->request('POST')
#2 /home/control/public_html/library/bdMails/Transport/Abstract.php(57): bdMails_Transport_Mandrill->_bdMails_sendMail()
#3 /home/control/public_html/library/Zend/Mail/Transport/Abstract.php(348): bdMails_Transport_Abstract->_sendMail()
#4 /home/control/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 /home/control/public_html/library/XenForo/Model/MailQueue.php(62): Zend_Mail->send(Object(bdMails_Transport_Mandrill))
#6 /home/control/public_html/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(9.99999809265)
#7 /home/control/public_html/library/XenForo/Model/Deferred.php(198): XenForo_Deferred_MailQueue->execute(Array, Array, 9.99999809265, '')
#8 /home/control/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.99999809265, '', false)
#9 /home/control/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /home/control/public_html/deferred.php(18): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
["url"] => string(40) "http://www.controlbooth.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(38) "/conversations/cm-vs-stagemaker.23874/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
Getting some error's quite frequently in my server logs:

Server Error Log
Error Info
Zend_Http_Client_Adapter_Exception: Unable to Connect to ssl://mandrillapp.com:443. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known -library/Zend/Http/Client/Adapter/Socket.php:235
Generated By: Unknown Account, Today at 1:17 PM
Stack Trace
#0 /home/control/public_html/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('mandrillapp.com', 443, true)
#1 /home/control/public_html/library/bdMails/Transport/Mandrill.php(177): Zend_Http_Client->request('POST')
#2 /home/control/public_html/library/bdMails/Transport/Abstract.php(57): bdMails_Transport_Mandrill->_bdMails_sendMail()
#3 /home/control/public_html/library/Zend/Mail/Transport/Abstract.php(348): bdMails_Transport_Abstract->_sendMail()
#4 /home/control/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 /home/control/public_html/library/XenForo/Model/MailQueue.php(62): Zend_Mail->send(Object(bdMails_Transport_Mandrill))
#6 /home/control/public_html/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(9.99999809265)
#7 /home/control/public_html/library/XenForo/Model/Deferred.php(198): XenForo_Deferred_MailQueue->execute(Array, Array, 9.99999809265, '')
#8 /home/control/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.99999809265, '', false)
#9 /home/control/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /home/control/public_html/deferred.php(18): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
["url"] => string(40) "http://www.controlbooth.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(38) "/conversations/cm-vs-stagemaker.23874/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
That is your server not being able to resolve the URL for Mandrill to be able to connect to it.

What are you using for your resolver on the server?
 
Back
Top Bottom