Answer the question
In order to leave comments, you need to log in
How to use List ID in Yandex?
The Yandex.Post Office recommendations say:
Add the "List-id" field to messages.
This is necessary in order to view statistics for each letter, even if they are the same.
I would like to understand where exactly to put this identifier when performing the mailing?
Should it be visible to users, or should it be included in some kind of meta tag when making up the newsletter?
In general, if I am sending out useful material without the prior consent of users (articles about business), is it worth highlighting my domain in Yandex using this service and its capabilities?
Answer the question
In order to leave comments, you need to log in
in the header of the letter, something like this should be the header of the letter
.....
To: [email protected]
Subject: =?UTF-8?Q?Habr?=
List-Id: =?UTF-8?Q?999?=
From: [email protected]
....
$message = new \Zend\Mail\Message();
.....
$message->getHeaders()->addHeaderLine('List-id', $id);
....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question