Duplicate mime headers in MS activation emails
|Reported by:||nacin||Owned by:|
Original MU ticket: http://trac.mu.wordpress.org/ticket/1121
PHPMailer *should* detect the presence of an existing MIME-Type header and not add a new one. If you were/are using an old version of wp_mail() however, which also set an explicit MIME-Type header (pre http://core.trac.wordpress.org/changeset/5764), you end up with duplicate headers before ever getting to PHPMailer. PHPMailer does not remove headers, so you end up with dupe headers in your email. I don't really see any good reason to set explicit MIME-Type headers in the calling function, and I think they should be removed. Patch attached.