What type of report is this:
| Q | A
| ---| ---
| Bug report? | -
| Feature request? | Y
| Enhancement? | -
All emails currently have the "list-unsubscribe" header added tot he email header. This causes emails to end up the "Updates" tab in Gmail.
Now, I'm not saying that we should remove the header completely -- I'm sure there's a lot of discussion surrounding that -- but would it possible to put this under the control of the user?
As an example, if I wanted to send an email as part of a transaction email, then the list-unsubscribe header is NOT required. In this case, it would be good to remove the header to ensure that the user sees the email.
| Q | A
| --- | ---
| Mautic version |
| PHP version |
_Please check for related errors in the latest log file in [mautic root]/app/log/ and/or the web server's logs and post them here. Be sure to remove sensitive information if applicable._
+1
If you want to permanently remove the unsubscribe header in the meantime, you could consider just commenting out the lines dealing with adding the header in the following 2 locations: [web root]/mautic/app/bundles/EmailBundle/EventListener/EmailSubscriber.php and
[web root]/mautic/app/bundles/EmailBundle/Helper/MailHelper.php (i.e. search "unsubscribe" and comment out where it's mentioned).
+1
In order to improve engagement and increase visibility to this feature request we are closing this issue on GitHub and recommending all Feature Requests (without code attachment) be placed in the Ideas forum on our community site.
We recommend you post your ideas to Mautic's forum so others can comment on them and help turn your ideas into a proof of concept and eventually an exciting new feature in Mautic.
_More information about this move can be found in our blog announcement._
Most helpful comment
If you want to permanently remove the unsubscribe header in the meantime, you could consider just commenting out the lines dealing with adding the header in the following 2 locations: [web root]/mautic/app/bundles/EmailBundle/EventListener/EmailSubscriber.php and
[web root]/mautic/app/bundles/EmailBundle/Helper/MailHelper.php (i.e. search "unsubscribe" and comment out where it's mentioned).