0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Added mailto to list-unsubscribe test header (#18742)

refs https://github.com/TryGhost/Product/issues/4053

Testing changes
This commit is contained in:
Simon Backx 2023-10-24 15:34:52 +02:00 committed by GitHub
parent 125b09324c
commit d0d0453833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -650,7 +650,7 @@ class EmailRenderer {
{
id: 'list_unsubscribe',
getValue: (member) => {
return '<' + this.createPostUnsubscribeUrl(member.uuid, {newsletterUuid}) + '>';
return '<' + this.createPostUnsubscribeUrl(member.uuid, {newsletterUuid}) + '>, <mailto:unsubscribe-' + member.uuid + '@ghost.org>';
},
required: true // Used in email headers
}