Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#12728 closed defect (bug) (fixed)

Duplicate mime headers in MS activation emails

Reported by: nacin Owned by:
Priority: normal Milestone: 3.0
Component: Mail Version:
Severity: normal Keywords: has-patch needs-refresh
Cc: Focuses: multisite

Description

Original MU ticket: ​http://trac.mu.wordpress.org/ticket/1121

From barry:

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.

Attachments (1)

remove-mime.diff​ (2.2 KB ) - added by nacin 17 years ago.
From barry. Against wpmu-functions.php. Code still exists in ms-functions.php

Download all attachments as: .zip

Change History (3)

@nacin
17 years ago

From barry. Against wpmu-functions.php. Code still exists in ms-functions.php

#1 @nacin
17 years ago

  • Keywords has-patch needs-refresh added

#2 @nacin
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [14055]) Don't set MIME headers in MS activation/welcome emails. fixes #12728, props barry.

Note: See TracTickets for help on using tickets.