V
V
Vladislav Ross2013-05-17 10:41:51
PHP
Vladislav Ross, 2013-05-17 10:41:51

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

2 answer(s)
V
Vladislav Ross, 2013-05-17
@gag_fenix

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.

I
ibooj, 2013-05-17
@ibooj

maybe it makes sense to send the newsletter through another relay?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question