omnivery / mautic-omnivery-plugin

Email transport using Omnivery API
https://omnivery.com/
GNU General Public License v3.0
4 stars 0 forks source link

Add List Unsubscribe header to marketing emails #10

Closed mzagmajster closed 2 years ago

mzagmajster commented 2 years ago

List-Unsubscribe header is mandatory in marketing emails. You can easily pass it in the h:List-Unsubscribe field with the that is used for unsubscribe. This should only be added for marketing emails.

axelocz commented 2 years ago

In one of the early calls you have passed the unsubscribe_url in variables so it should be easily available to pass in header param.

mzagmajster commented 2 years ago

image

Just a note to myself for testing: Check if the setting on the image make sense for real scenario

axelocz commented 2 years ago

Use owner as mailer should be ALWAYS disabled as it means, that the From address will be set to the email address of the account holder executing the campaign.

List unsubcribe header is now being correctly added to outgoing emails as required for marketing campaigns.

mzagmajster commented 2 years ago

Closing this issue and open a separate one for owner as mailer setting as it has nothing to do with the issue anymore