E
E
Eugenue Cesarevich2020-08-17 21:16:05
Mail server
Eugenue Cesarevich, 2020-08-17 21:16:05

How does an SMTP server communicate with a mail service?

We use the Unisender service for commercial mailings. The domain mail itself is located on Yandex (SDA).

I am writing my own e-mail mailer: in my program, I connect to the Yandex smtp server and can send mail from our domain to user groups without any problems.
However, I ran into another difficulty: unisender somehow receives data that some subscriber has unsubscribed (I understand how this works), or added a mailing to spam (I don’t understand how this works). It turns out that the Yandex mail server, after sending the letter, receives a response from the mail client and sends data about those who added the mailing list to spam to unisender. I don't understand how he sends this data and where to get it from.

What exactly are the mechanisms that allow the abstract unisender (or any other mailing list service) to know that the user has added the mailing list to spam?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yakov, 2020-08-18
@cot_shaurma

Good afternoon!
in my program, I connect to the Yandex smtp server and can send mail from our domain to user groups without any problems.
In fact, Yandex robots have recently often blocked mailings via their SMTP, if you want it to work reliably, it’s better to use third
-party unisender somehow receives data that some subscriber has unsubscribed
here everything is simple, following the link in the letter
or adding mailing to spam
, the Unisender puts its return address in the MAIL FROM field and receives complaints about spam through the FBL tools. When sending using your method, you need to set the rua parameter in DMARC and set up postmasters (for example, mail ru does not take mail from DMARC, for them you need to register it in the postmaster, but gmail and yahoo take it).
It turns out that the Yandex mail server, after sending the letter, receives a response from the mail client and sends data about those who added the mailing list to spam to unisender.
Yandex does not participate in this operation at all, letters are sent from the unisender servers and all abuse reports and bounce are sent directly to the unisender servers due to the fact that mail from is specified by them and not yours

A
akelsey, 2020-08-17
@akelsey

it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question