jdavidbakr / mail-tracker

Package for Laravel to inject tracking code into outgoing emails.
MIT License
567 stars 129 forks source link

Fixes mime part duplication. #198

Closed svenvanhees closed 1 year ago

svenvanhees commented 1 year ago

Implemented a fix for #197 by specifically checking for the mime part of type alternative, and then inject a pixel only when that part is of type html. This solves the part being injected twice, resulting in duplication the mail's content.