Customizing the unsubscription process - email headers

2025/10/09 4:31 PM

A client wants to be able to customize the unsubscribe process. Specifically, because they manage contact subscriptions outside of Kentico, they want to handle the unsubscription process in their own application.

I'm certainly able to create my own /unsubscribe link (with its own keys and hash that I process myself) and display it in the email, and have that link inform the subscription-manager that they've unsubscribed.

However, Kentico considers the built-in 'unsubscribe' page a required field for creating recipient lists, and generates a Header:

List-Unsubscribe:`https://localhost/Kentico.Emails/Unsubscribe?contactEmail=john%40example.local&recipientListID=1&emailId=1&mailout=[guid]&hash=9ada2bff7282f4be1b5bf0d444643736dc5f5a55b8664d0398b8bf64f0374801`

List-Unsubscribe-Post: `List-Unsubscribe=One-Click`

Is there a way to disable (or override) those headers? If a user can access the built-in Kentico unsubscription process and it removes them from the recipient list, without informing the subscription manager, it'll mess up the workflow.

Tags:
Email marketing

Answers

To response this discussion, you have to login first.