List-Unsubscribe
This commit is contained in:
parent
726ec8bd38
commit
b3141bf9ec
@ -223,6 +223,9 @@ async function processEmailTask(task, topic) {
|
|||||||
subject: task.subject,
|
subject: task.subject,
|
||||||
text: task.text,
|
text: task.text,
|
||||||
html: task.html,
|
html: task.html,
|
||||||
|
headers: {
|
||||||
|
'List-Unsubscribe': `<mailto:${smtp.from_email}?subject=unsubscribe>`,
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const info = await transporter.sendMail(mailOptions);
|
const info = await transporter.sendMail(mailOptions);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user