|
@@ -661,7 +661,7 @@ function materio_user_get_role_by_name($name) {
|
|
function materio_user_mandrill_mailsend_result($result) {
|
|
function materio_user_mandrill_mailsend_result($result) {
|
|
if ( in_array($result['status'], array('rejected', 'invalid', 'error')) ) {
|
|
if ( in_array($result['status'], array('rejected', 'invalid', 'error')) ) {
|
|
// remove email from pool
|
|
// remove email from pool
|
|
- simplenews_delete_spool(['mail'=>$result['email']]);
|
|
|
|
|
|
+ // simplenews_delete_spool(['mail'=>$result['email']]);
|
|
|
|
|
|
// if ( in_array($result['status'], array('invalid')) ) {
|
|
// if ( in_array($result['status'], array('invalid')) ) {
|
|
// // unsubscribe user if mail does not exists
|
|
// // unsubscribe user if mail does not exists
|