R
R
Roman Kutenko2014-11-05 12:47:52
PHP
Roman Kutenko, 2014-11-05 12:47:52

How to properly implement list-unsubscribe?

Hello everyone, I'm currently trying to implement the ability to unsubscribe from the mailing list using the list-unsubscribe header. Now the header looks like this

'List-Unsubscribe: <mailto:[email protected]?subject=unsubscribe>, <http://www.my.site/mail/unsubscribe/' . $this->_recipients . '/' . $type . '>'

A corresponding letter is sent to the [email protected] mail, but the action on the www.my.site/mail/unsubscribe/... link does not occur, the required email is not deleted from the database.
Or have I somehow misunderstood this technology?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Benkovsky, 2014-11-05
@benbor

Googled RFC www.faqs.org/rfcs/rfc2369.html As far as I understand, only the first possible method can be performed. Try to swap the link and mail, if it comes only to the site, then I'm right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question