Using unique id in a plugin

Hi! I’m trying to write a plugin that adds the List-Unsubscribe header, I need to get the user unique id from the plugin code.

Am I able to use the [USERID] key? or how should I do in order to get that value?

EDIT: is the List-Unsubscribe header already implemented in 3.3.4?

@paolo phplist has always had a List-Unsubscribe header. Just look at the headers of any email sent from phplist.

Since release 3.4.9 (last December) it also has a List-Unsubscribe-Post header which seems to increase the likelihood of a mail client showing an “Unsubscribe” button. On my Android phone the Yahoo mail app and the gmail app now both show an Unsubscribe button.

@duncanc thank you! does phplist manage automatically the POST request?