- Server operating system version
- Centos 7
- Plesk version and microupdate number
- Plesk Obsidian 18.0.82.3
Hello,
We are sending emails to subscribed members and wish to add "Unsubscribe" buttons to them. We use PHPMailer 6.0.7. The sending script contains the following headers:
However, no "Unsubscribe" buttons are displayed in received emails (gmail, hotmail and Yahoo).
The relevant headers in the received emails are:
Is this caused by Plesk affectig the sent headers in any way?
I'd greatly appreciate your advice.
Tetrahall
We are sending emails to subscribed members and wish to add "Unsubscribe" buttons to them. We use PHPMailer 6.0.7. The sending script contains the following headers:
Code:
$mail->addCustomHeader(
'List-Unsubscribe',
'<https://www.domain.com/unsubscribe.php?UserNum=' . rawurlencode($UserNum) . '&token=' . rawurlencode($token) . '>'
);
$mail->addCustomHeader(
'List-Unsubscribe-Post',
'List-Unsubscribe=One-Click'
);
However, no "Unsubscribe" buttons are displayed in received emails (gmail, hotmail and Yahoo).
The relevant headers in the received emails are:
Code:
List-Unsubscribe: <https://www.domain.com/unsubscribe.php?UserNum=120884&token=...hidden...>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=domain.com; s=default; t=1796108921; bh=VMqMl9Szk1pvDM4umSkNpOFXw8U63CP6DbV1S4BiOMM=; h=Received:To:From:Subject; b=Chi0S4hi55dflNMHsZsmD3ZysTjf97AO+e3FuZPNLYdrnGn2DMNyTBUK3MWPXunQw ryAGtL7htoNcZkbwTd23OfO8oYCSJdWmTVaP+TOk5G8
Is this caused by Plesk affectig the sent headers in any way?
I'd greatly appreciate your advice.
Tetrahall