Advertisement:

Author Topic: Sorting email queue  (Read 3958 times)

Offline iksa

  • Jr. Member
  • **
  • Posts: 113
  • Gender: Male
Sorting email queue
« on: March 31, 2013, 07:03:43 AM »
The email queue uses a priority value, which is good. Within emails with equal priority it would be even better, though, if the administrator could somehow order the emails while they are still in the queue.

Offline iksa

  • Jr. Member
  • **
  • Posts: 113
  • Gender: Male
Re: Sorting email queue
« Reply #1 on: March 31, 2013, 09:33:01 AM »
...or at least a 'Send now' button for selected recipients (now there is this only for the whole queue).

Offline Devpro

  • Newbie
  • *
  • Posts: 7
Re: Sorting email queue
« Reply #2 on: May 16, 2013, 10:03:15 AM »
Even i would like to know the solution for this...... :)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Sorting email queue
« Reply #3 on: May 16, 2013, 10:05:01 AM »
The priority is not for sending priority, it's for the priority when it hits the destination server, not all mail servers support that particular feature anyway.

As far as send-now, there are a surprising number of hoops that would need to be jumped through in the guts of the scheduled task system (and some bugs that actually need fixing first)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Spuds

  • SMF Hero
  • ******
  • Posts: 1,798
  • Gender: Male
Re: Sorting email queue
« Reply #4 on: May 16, 2013, 11:00:11 AM »
Quote
The priority is not for sending priority, it's for the priority when it hits the destination server, not all mail servers support that particular feature anyway.
I may be reading that wrong, but I don't think that's entirely correct.  There is a queue priority so things like password reminders, registrations, etc have a high priority and get sent first, say over a daily digest which has a low priority.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Sorting email queue
« Reply #5 on: May 16, 2013, 11:14:02 AM »
Oh, my bad, buried in the depths of ReduceMailQueue it is actually used.

However - and this is where the previously-mentioned bug comes in - if it fails at any point, it's reinserted with priority 1 (which is higher than most), even if it was a priority 5 or lower message before that.

My understanding was that the priority was *supposed* to be transmitted to client messages too for priority but hmm that's not in there.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.