Mass Mailer revisited.

I've seen many people with this same problem and none with answers.  When I send out a mass email, the Q is cleared with the cron cycle but the emails are never delivered. 

 

The cron report gives an error;

No recipient addresses found in header

 

I have narrowed the issue down a bit.  In /inc/classes/BxDoICronNotifies.php the line;

if(sendMail($aMail['email'], $aMail['subject'], $aMail['body']))

 

if I changed it to;

if(sendMail('myemail@domain.com', $aMail['subject'], $aMail['body']))

 

I get the email successfully.  So for some reason, the variable $aMail['email'] is turning up null.  I've tried different things but nothing has worked.  Any ideas?

 

Had this issue the entire beta and RC versions and now have D7 final installed all with the same issue.

 

 

 

Quote · 28 Dec 2009

Ticket added: http://www.boonex.com/trac/dolphin/ticket/1667

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 28 Dec 2009

Dolphin 7.0 - Final

I found that if I check 'male' and 'female' I get only 10 emails in que.  Traced it to 'incorrect logic'. If I unchecked them both I got full membership.  I'm not sure this is the best fix (IF you are having this issue), but  here is what I did.

 

in the admin/notifies.php  file

 

 

//--- Send to all profiles
 if($_REQUEST['send_to_members'] == 'memb') {
  //--- Sex filter
  // -- was only sending NOT checked sex in admin mail
  // Changed DCM 12-30-09 
  $sex_filter_sql = '';
  //  if(is_array($_REQUEST['sex']) && !empty($_REQUEST['sex']))  -- comment out ORIGINAL LINE
  if(is_array($_REQUEST['sex']))  //  -- actually just deleted all from && to end of line.
  
  $sex_filter_sql = "AND `Sex` IN ('" . implode("','", $_REQUEST['sex']) . "')";

 

Have not done extensive testing, so please don't flame me.  Just thought others may have same issue

Quote · 31 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.