How to include An UNSUBSCRIBE link in newsletter sent to multiple users using PHPMailer? Like mydomain/unsubscribe.php?email=useremail.

please help. Thanks in advance.

有帮助吗?

解决方案

Just add it to the content of the message.

$mail->Body = "content<br><br>mydomain/unsubscribe.php?email=useremail";

or do you need the unsubscribe function?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top