Should be very simple.

See here:
https://support.sparkpost.com/customer/en/portal/articles/2458291-removi...

Motivation: goes without saying. Real transactional emails are so important that your users can't miss them because they erroneously clicked "Unsubscribe" once; SparkPost automatically mark all emails as part of a mailing list by default!

Comments

kopeboy created an issue. See original summary.

zaporylie’s picture

Priority: Major » Critical

Hi kopeboy,
you are absolutely right! Bumping priority to Critical. I'll provide a patch soon. Thanks for reporting this problem.

zaporylie’s picture

Category: Feature request » Bug report
Status: Active » Needs review
StatusFileSize
new595 bytes

And here it is. I believe this option should be "on" by default. You can change it eventually in custom module using hook_sparkpost_mail_alter().
Would be great if you could apply this patch and verify it solves the issue for you.

eiriksm’s picture

Status: Needs review » Reviewed & tested by the community

Tested and solves the problem

zaporylie’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 7.x-1.x.

  • zaporylie committed ccfe455 on 7.x-1.x
    Issue #2793291 by zaporylie, kopeboy, eiriksm: Allow marking email as...
zaporylie’s picture

Status: Fixed » Patch (to be ported)

Needs to be ported to D8.

zaporylie’s picture

Version: 7.x-1.x-dev » 8.x-2.x-dev
eiriksm’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new548 bytes

Patch for d8 version

  • zaporylie committed e13cd81 on 8.x-2.x authored by eiriksm
    Issue #2793291 by zaporylie, eiriksm, kopeboy: Allow marking email as...
zaporylie’s picture

Status: Needs review » Fixed

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.