Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: soonsoo on April 19, 2022, 08:24:03 AM

Title: additional_message_headers List-Unsubscribe
Post by: soonsoo on April 19, 2022, 08:24:03 AM

Installed roundcube 1.5.1.

Use the additional_message_headers plugin and I want to put the user's email address in List-Unsubscribe .

But $_SESSION['username'] outputs an empty value.

$config['additional_message_headers']['List-Unsubscribe'] = '<mailto:'.$_SESSION['username'].'?subject=Unsubscribe>';

Is there no way? T.T