Opened 16 years ago
Closed 16 years ago
#12728 closed defect (bug) (fixed)
Duplicate mime headers in MS activation emails
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Keywords: | has-patch needs-refresh | |
| Focuses: | multisite | Cc: |
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)
Change History (3)
Note: See
TracTickets for help on using
tickets.
From barry. Against wpmu-functions.php. Code still exists in ms-functions.php