List-Unsubscribe

This commit is contained in:
romantarkin 2025-07-29 11:19:39 +05:00
parent 726ec8bd38
commit b3141bf9ec

View File

@ -223,6 +223,9 @@ async function processEmailTask(task, topic) {
subject: task.subject,
text: task.text,
html: task.html,
headers: {
'List-Unsubscribe': `<mailto:${smtp.from_email}?subject=unsubscribe>`,
}
};
const info = await transporter.sendMail(mailOptions);