Answer the question
In order to leave comments, you need to log in
PHP Sendmail email priority?
Problem: when launching a newsletter to users, it clogs the entire sending queue and registration letters leave with a delay.
Is there any way to set the priority when sending emails via PHP? So that registration letters go “without a queue”?
Maybe Sendmail respects X-Priority?
Answer the question
In order to leave comments, you need to log in
In short, the answer was found in the Sendmail book.
You need to set the Precedence header for letters.
I have set Precedence: junk to the mailing list. Now the rest of the letters now leave immediately, and the mailing list is “in the background”.
The default classes are: first-class, special-delivery, list, bulk, junk - in descending order of priority. You can set your own.
You may need to set QueueSortOrder=priority in the sendmail config and increase the ClassFactor.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question