cron job mail to not deliverd

Hello

i have two problems.

1. Massmail do not work,

if i make a new mail, it will stay in the queue and it will not delivered, i received this mail from the cron job.

who can help me

- Start email send -

Total queued emails: 1

Ready for send: 1

Processed emails: 0

Processed emails with errors: 0

2. Mail Header

The header in the received mail is not correct.

the form field is empty and in the top of the mail stand

MIME-Version: 1.0

From: =?UTF-8?B?R2VidGVza3JhbnogQ29tbXVuaXR5?= <noreplay@xxxxxxx.ch>

i hope you understand my, me englisch is not perfect

best regards thomas

Quote · 11 Jan 2010

hi,

i have the same problem.

 

my sytem seem to not send out my mass mail

this is how it looks like in my admin:

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

Queue status:
ID: 2 Subj: my subject. 49 emails

Cupid mails status:
There are no emails in queue

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

and i have enable 'Enable cupid mails' in admin settings

i get this result from cron

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

- Start email send -
Total queued emails: 49
Ready for send: 20
Processed emails: 0
Processed emails with errors: 0

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

i cant understand why is not sending? please help.

warm regards B

my version 6.1.6

Quote · 12 Jan 2010

I just had this problem yesterday this free mod was the solution:

http://www.expertzzz.com/Downloadz/view/5995

Quote · 21 Jan 2010

thx alot selenin,

 

i have looked for a soulution for this problem a long time, you are star.

 

but in t he soloution:  this string does not exist EmailNotify = 'NotifyMe' did u have this string in EmailNotify = 'NotifyMe'

 

5) edit file : periodic/notifies.php

   //Look for this string :
  
   EmailNotify
  
  
   //The string should look like below if not change it :
  
   EmailNotify = 'NotifyMe'
 

 

 

warm regards anders

Quote · 24 Jan 2010

I just upgrade to 616 and have the same problem which is solved by

Find in periodic/notify.php about line 115

WHERE
NotifyQueue.`From` = 'Profiles' AND
Profiles.EmailNotify  = '1'
",0 );

BY

WHERE
NotifyQueue.`From` = 'Profiles' AND
Profiles.EmailNotify  = 'NotifyMe'
",0 );

And the queue is going on after a few moment

Quote · 24 Jan 2010

thx gilbau, i follow your instruction but i ha also on line 152 as u can see below, i change both is that right?

 

 

if ( $count_ok < $total_count ) {
     // Profiles Messages
  $nfs_res = db_res("
   SELECT
    NotifyQueue.Email as ID1,
    NotifyQueue.Msg as ID2,
    Profiles.NickName as Name,
    Profiles.Email,
    NotifyMsgs.Subj,
    NotifyMsgs.HTML as Body
   FROM NotifyQueue   
   INNER JOIN NotifyMsgs ON
    (NotifyMsgs.ID =  NotifyQueue.Msg)
   INNER JOIN Profiles ON
    (Profiles.ID = NotifyQueue.Email)
   WHERE
    NotifyQueue.`From` = 'Profiles' AND
    Profiles.EmailNotify  = 'NotifyMe'
   ",0 );
  
     while( $row = mysql_fetch_array( $nfs_res ) )
  {
   $headers = "From: {$site['title']} <{$site['email_notify']}>";
   $headers = "MIME-Version: 1.0\r\n" . "Content-type: text/html; charset=UTF-8\r\n" . $headers;
   if ( !mail( $row['Email'], $row['Subj'], $row['Body'], $headers, "-f{$site['email_notify']}") )
             ++$err;
      if ( $row[ID1] && $row[ID2] )
    db_res("DELETE FROM NotifyQueue WHERE Email = $row[ID1] AND Msg = $row[ID2] AND NotifyQueue.`From` = 'Profiles'", 0 );
         else
          echo "ERROR: while deleting from 'NotifyQueue' ( Email ID: $row[ID1], Msg ID: $row[ID2] )\n";
   ++$count_ok;
   if ( $count_ok >= $total_count ) break;
     }
 }

 

    if ( $count_ok < $total_count ) {
        // Profiles Messages
        $nfs_res = db_res("
   SELECT
    NotifyQueue.Email as ID1,
    NotifyQueue.Msg as ID2,
    NotifyQueue.MsgText as Body,
    NotifyQueue.MsgSubj as Subj,
    Profiles.NickName as Name,
    Profiles.Email
   FROM NotifyQueue
   INNER JOIN Profiles ON
    (Profiles.ID = NotifyQueue.Email)
   WHERE
    NotifyQueue.`From` = 'ProfilesMsgText' AND
    Profiles.EmailNotify  = 'NotifyMe'
   ",0);

Quote · 24 Jan 2010

I dont know for line 152 I think it must be replace also

But for my case only the replace of the 115 line debug the notify cron

I am going to replace also and see what happens (I am sending some mass maill actually)

Quote · 24 Jan 2010

ok I replace NotifyMe in line 152 also and there is no problem for the cron. It works

Quote · 24 Jan 2010
 
 
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.